Class DefaultDependencyArtifacts
- java.lang.Object
-
- org.eclipse.tycho.core.osgitools.targetplatform.ArtifactCollection
-
- org.eclipse.tycho.core.osgitools.targetplatform.DefaultDependencyArtifacts
-
- All Implemented Interfaces:
DependencyArtifacts
- Direct Known Subclasses:
MultiEnvironmentDependencyArtifacts
public class DefaultDependencyArtifacts extends ArtifactCollection implements DependencyArtifacts
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<Object>
nonReactorUnits
Set of installable unit in the target platform of the module that do not come from the local reactor.protected ReactorProject
project
'this' project, i.e.-
Fields inherited from class org.eclipse.tycho.core.osgitools.targetplatform.ArtifactCollection
artifacts, locations
-
Fields inherited from interface org.eclipse.tycho.artifacts.DependencyArtifacts
ANY_QUALIFIER
-
-
Constructor Summary
Constructors Constructor Description DefaultDependencyArtifacts()
DefaultDependencyArtifacts(ReactorProject project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNonReactorUnits(Set<?> installableUnits)
Set<?>
getInstallableUnits()
Collection of dependency metadata (p2 installable units).Set<?>
getNonReactorUnits()
Set of IInstallableUnits in the resolved project dependencies that come from outside the local reactor, ornull
if the the project dependencies were not resolved from a p2 target platform.protected ArtifactDescriptor
normalize(ArtifactDescriptor artifact)
protected ArtifactKey
normalize(ArtifactKey key)
-
Methods inherited from class org.eclipse.tycho.core.osgitools.targetplatform.ArtifactCollection
addArtifact, addArtifact, addArtifactFile, addReactorArtifact, dump, getArtifact, getArtifact, getArtifact, getArtifacts, getArtifacts, getMavenProject, isEmpty, normalizePluginType, removeAll, toDebugString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.tycho.artifacts.DependencyArtifacts
getArtifact, getArtifact, getArtifact, getArtifacts, getArtifacts, getMavenProject, toDebugString
-
-
-
-
Field Detail
-
project
protected final ReactorProject project
'this' project, i.e. the project the dependencies were resolved for. can be null.
-
-
Constructor Detail
-
DefaultDependencyArtifacts
public DefaultDependencyArtifacts()
-
DefaultDependencyArtifacts
public DefaultDependencyArtifacts(ReactorProject project)
-
-
Method Detail
-
normalize
protected ArtifactDescriptor normalize(ArtifactDescriptor artifact)
- Overrides:
normalize
in classArtifactCollection
-
normalize
protected ArtifactKey normalize(ArtifactKey key)
- Overrides:
normalize
in classArtifactCollection
-
getNonReactorUnits
public Set<?> getNonReactorUnits()
Description copied from interface:DependencyArtifacts
Set of IInstallableUnits in the resolved project dependencies that come from outside the local reactor, ornull
if the the project dependencies were not resolved from a p2 target platform.- Specified by:
getNonReactorUnits
in interfaceDependencyArtifacts
- Returns:
- Set<IInstallableUnit> or null
-
getInstallableUnits
public Set<?> getInstallableUnits()
Description copied from interface:DependencyArtifacts
Collection of dependency metadata (p2 installable units). Includes metadata associated with dependency artifacts and metadata that is not possible or not practical to assosiate with a specific artifact, like, for example, p2 repository category installable units.The result does not include metadata associated with 'this' project.
- Specified by:
getInstallableUnits
in interfaceDependencyArtifacts
- Returns:
- Set<IInstallableUnit> or null
-
addNonReactorUnits
public void addNonReactorUnits(Set<?> installableUnits)
-
-