Package com.google.gwt.core.ext.linker.impl

Examples of com.google.gwt.core.ext.linker.impl.SelectionInformation


   *          {@code null} in case no permutation specific artifacts exist
   */
  private Artifact<?> createPermutationCacheManifestArtifact(LinkerContext context, TreeLogger logger,
          ArtifactSet artifacts) {

    SelectionInformation si = artifacts.find(SelectionInformation.class).first();
    PermutationCacheManifestArtifact cacheArtifact = new PermutationCacheManifestArtifact(this.getClass(),
            si.getStrongName(), si.getPropMap());

    if (artifacts != null) {
      for (Artifact<?> artifact : artifacts) {
        if (artifact instanceof EmittedArtifact) {
          EmittedArtifact ea = (EmittedArtifact) artifact;
View Full Code Here


    ArtifactSet artifactSet = new ArtifactSet();
    TreeMap<String, String> map = new TreeMap<String, String>();
    map.put("prop1", "v1");
    map.put("prop2", "v2");
    SelectionInformation selectionInformation = new SelectionInformation("strong", 0, map);
    artifactSet.add(selectionInformation);

    // put in some files
    SyntheticArtifact a1 =
        new SyntheticArtifact(PermutationMapLinker.class, "1.test", "bla".getBytes("UTF-8"));
View Full Code Here

    ArtifactSet artifactSet = new ArtifactSet();
    TreeMap<String, String> map = new TreeMap<String, String>();
    map.put("prop1", "v1");
    map.put("prop2", "v2");
    SelectionInformation selectionInformation = new SelectionInformation("strong", 0, map);
    artifactSet.add(selectionInformation);
    SelectionInformation selectionInformation1 = new SelectionInformation("strong1", 0, map);
    artifactSet.add(selectionInformation1);

    try {
      permutationMapLinker.link(new PrintWriterTreeLogger(), linkerContext, artifactSet, true);
      Assert.fail("expected exception did not occur");
View Full Code Here

    ArtifactSet artifactSet = new ArtifactSet();
    TreeMap<String, String> map = new TreeMap<String, String>();
    map.put("prop1", "v1");
    map.put("prop2", "v2");
    SelectionInformation selectionInformation = new SelectionInformation("perm1", 0, map);
    artifactSet.add(selectionInformation);

    TreeMap<String, String> map1 = new TreeMap<String, String>();
    map1.put("prop3", "v3");
    map1.put("prop4", "v4");
    selectionInformation = new SelectionInformation("perm2", 0, map1);
    artifactSet.add(selectionInformation);
    // put in some files
    SyntheticArtifact a1 =
        new SyntheticArtifact(PermutationMapLinker.class, "1.test", "bla".getBytes("UTF-8"));
    artifactSet.add(a1);
View Full Code Here

TOP

Related Classes of com.google.gwt.core.ext.linker.impl.SelectionInformation

Copyright © 2018 www.massapicom. 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.