Examples of resolve()


Examples of com.munian.ivy.module.facade.IvyFacade.resolve()

    }

    @Override
    public void actionPerformed(ActionEvent ev) {
        IvyFacade resolver = Lookup.getDefault().lookup(IvyFacade.class);
        resolver.resolve(project);
    }   
}
View Full Code Here

Examples of com.odiago.flumebase.exec.SymbolTable.resolve()

    // Create an Avro output schema for this node, specifying all the fields
    // we can emit.  Use our internal symbol (mSymbols a.k.a. outTable) to
    // create more precise TypedFields that use the proper avro names.
    List<TypedField> outFields = new ArrayList<TypedField>();
    for (String fieldName : fieldNames) {
      AssignedSymbol sym = (AssignedSymbol) outTable.resolve(fieldName).resolveAliases();
      outFields.add(new TypedField(fieldName, sym.getType(), sym.getAssignedName(), fieldName));
    }

    PlanNode node = new NamedSourceNode(mSourceName, outFields);
    planContext.getFlowSpec().addRoot(node);
View Full Code Here

Examples of com.opengamma.core.security.impl.SimpleSecurityLink.resolve()

    return securities;
  }

  private SecurityLink createSecurityLink(final SecuritySource securities) {
    final SimpleSecurityLink link = new SimpleSecurityLink(ExternalId.of("Security", "Swap"));
    link.resolve(securities);
    return link;
  }

  private SimpleTrade createTrade(final SecuritySource securities) {
    final SimpleTrade trade = new SimpleTrade();
View Full Code Here

Examples of com.opengamma.engine.ComputationTargetResolver.resolve()

public class LazyComputationTargetResolverTest {

  public void testPortfolioNode() {
    final MockComputationTargetResolver mock = MockComputationTargetResolver.unresolved();
    final ComputationTargetResolver resolver = new LazyComputationTargetResolver(mock);
    final ComputationTarget target = resolver.resolve(new ComputationTargetSpecification(ComputationTargetType.PORTFOLIO_NODE, UniqueId.of("Node", "0")), VersionCorrection.LATEST);
    final PortfolioNode node = target.getPortfolioNode();
    assertEquals(node.getUniqueId(), UniqueId.of("Node", "0"));
    assertEquals(mock.getResolveCalls(), 0);
    assertEquals(node.getName(), "Node 0");
    assertEquals(mock.getResolveCalls(), 1);
View Full Code Here

Examples of com.opengamma.integration.tool.portfolio.xml.TradePositionResolver.resolve()

  @Test
  public void testPositionsAreEmptyWhenNoneAdded() {

    TradePositionResolver resolver = new TradePositionResolver(ImmutableSet.of("T1"));
    resolver.resolve();
    assertTrue(resolver.getPositions().isEmpty());
  }

  @Test
  public void testAllTradesAreOrphansWhenNoPositionsAdded() {
View Full Code Here

Examples of com.opengamma.master.historicaltimeseries.HistoricalTimeSeriesResolver.resolve()

    if ((resolutionKeyConstraints == null) || resolutionKeyConstraints.isEmpty()) {
      resolutionKey = null;
    } else {
      resolutionKey = resolutionKeyConstraints.iterator().next();
    }
    final HistoricalTimeSeriesResolutionResult resolutionResult = htsResolver.resolve(target.getSecurity().getExternalIdBundle(), null, null, null, dataField, resolutionKey);
    if (resolutionResult == null) {
      return null;
    }
    UniqueId htsId = resolutionResult.getHistoricalTimeSeriesInfo().getUniqueId();
    final ValueProperties.Builder constraints = ValueProperties.builder();
View Full Code Here

Examples of com.sk89q.skmcl.application.Version.resolve()

        Version current = getVersion();
        if (current == null) {
            throw new NullPointerException("No version is set for this application");
        }
        return new MinecraftInstall(getProfile(),
                current.resolve(this, offline), environment);
    }

    /**
     * Get a copy of the release list, fetching it from the web if it's not cached.
     *
 
View Full Code Here

Examples of com.springsource.util.common.PropertyPlaceholderResolver.resolve()

        PropertyPlaceholderResolver placeholderResolver = new PropertyPlaceholderResolver();

        for (Entry<String, String> entry : manifest.getMainAttributes().entrySet()) {
            String key = entry.getKey();
            String value = entry.getValue();
            manifest.getMainAttributes().put(key, placeholderResolver.resolve(value, this.properties, transformer));
        }
       
        for(String name : manifest.getSectionNames()) {
            for(Entry<String, String> entry : manifest.getAttributesForSection(name).entrySet()) {
                String key = entry.getKey();
View Full Code Here

Examples of com.strobel.assembler.metadata.FieldReference.resolve()

                        currentType,
                        switchMapMethod.getName(),
                        switchMapMethod.getReturnType().getErasedSignature()
                    );

                    switchMapField = r.resolve();
                }
                catch (Throwable t) {
                    return super.visitSwitchStatement(node, data);
                }
View Full Code Here

Examples of com.strobel.assembler.metadata.MetadataSystem.resolve()

            //

            final MetadataParser parser = new MetadataParser(IMetadataResolver.EMPTY);
            final TypeReference reference = parser.parseTypeDescriptor(internalName);

            type = metadataSystem.resolve(reference);
        }
        else {
            type = metadataSystem.lookupType(internalName);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.