Class ArtifactCollection
- java.lang.Object
-
- org.eclipse.tycho.core.osgitools.targetplatform.ArtifactCollection
-
- Direct Known Subclasses:
DefaultDependencyArtifacts
public class ArtifactCollection extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<ArtifactKey,ArtifactDescriptor>
artifacts
protected Map<File,Map<String,ArtifactDescriptor>>
locations
-
Constructor Summary
Constructors Constructor Description ArtifactCollection()
-
Method Summary
-
-
-
Field Detail
-
artifacts
protected final Map<ArtifactKey,ArtifactDescriptor> artifacts
-
locations
protected final Map<File,Map<String,ArtifactDescriptor>> locations
-
-
Method Detail
-
getArtifacts
public List<ArtifactDescriptor> getArtifacts(String type)
-
getArtifacts
public List<ArtifactDescriptor> getArtifacts()
-
addArtifactFile
public void addArtifactFile(ArtifactKey key, File location, Set<Object> installableUnits)
-
addArtifact
public void addArtifact(ArtifactDescriptor artifact)
-
addArtifact
protected void addArtifact(ArtifactDescriptor artifact, boolean merge)
-
normalize
protected ArtifactDescriptor normalize(ArtifactDescriptor artifact)
-
normalize
protected ArtifactKey normalize(ArtifactKey key)
-
normalizePluginType
protected ArtifactKey normalizePluginType(ArtifactKey key)
-
dump
public void dump()
-
isEmpty
public boolean isEmpty()
-
getArtifact
public ArtifactDescriptor getArtifact(String type, String id, String version)
-
addReactorArtifact
public void addReactorArtifact(ArtifactKey key, ReactorProject project, String classifier, Set<Object> installableUnits)
-
getMavenProject
public ReactorProject getMavenProject(File location)
-
getArtifact
public Map<String,ArtifactDescriptor> getArtifact(File location)
-
getArtifact
public ArtifactDescriptor getArtifact(ArtifactKey key)
-
toDebugString
public void toDebugString(StringBuilder sb, String linePrefix)
-
-