Package org.eclipse.tycho.p2.resolver
Class DefaultP2ResolutionResult
- java.lang.Object
-
- org.eclipse.tycho.p2.resolver.DefaultP2ResolutionResult
-
- All Implemented Interfaces:
P2ResolutionResult
public class DefaultP2ResolutionResult extends java.lang.Object implements P2ResolutionResult
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.tycho.p2.resolver.facade.P2ResolutionResult
P2ResolutionResult.Entry
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<ClassifiedArtifactKey,P2ResolutionResult.Entry>
entries
private java.util.Map<ClassifiedLocation,P2ResolutionResult.Entry>
entriesByLocation
private java.util.Set<java.lang.Object>
nonReactorUnits
Set of installable unit in the target platform of the module that do not come from the local reactor.
-
Constructor Summary
Constructors Constructor Description DefaultP2ResolutionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addArtifact(ArtifactKey artifactKey, java.lang.String classifier, org.eclipse.equinox.p2.metadata.IInstallableUnit installableUnit, org.eclipse.equinox.p2.metadata.IArtifactKey p2ArtifactKey, P2TargetPlatform resolutionContext)
void
addNonReactorUnit(org.eclipse.equinox.p2.metadata.IInstallableUnit installableUnit)
void
addNonReactorUnits(java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> installableUnits)
void
addResolvedArtifact(java.util.Optional<ArtifactKey> artifactKey, java.lang.String classifier, org.eclipse.equinox.p2.metadata.IInstallableUnit installableUnit, java.io.File location)
java.util.Collection<P2ResolutionResult.Entry>
getArtifacts()
java.util.Set<?>
getNonReactorUnits()
void
removeEntriesWithUnknownType()
-
-
-
Field Detail
-
entries
private final java.util.Map<ClassifiedArtifactKey,P2ResolutionResult.Entry> entries
-
entriesByLocation
private final java.util.Map<ClassifiedLocation,P2ResolutionResult.Entry> entriesByLocation
-
nonReactorUnits
private final java.util.Set<java.lang.Object> nonReactorUnits
Set of installable unit in the target platform of the module that do not come from the local reactor.
-
-
Method Detail
-
getArtifacts
public java.util.Collection<P2ResolutionResult.Entry> getArtifacts()
- Specified by:
getArtifacts
in interfaceP2ResolutionResult
-
addArtifact
public void addArtifact(ArtifactKey artifactKey, java.lang.String classifier, org.eclipse.equinox.p2.metadata.IInstallableUnit installableUnit, org.eclipse.equinox.p2.metadata.IArtifactKey p2ArtifactKey, P2TargetPlatform resolutionContext)
-
addResolvedArtifact
public void addResolvedArtifact(java.util.Optional<ArtifactKey> artifactKey, java.lang.String classifier, org.eclipse.equinox.p2.metadata.IInstallableUnit installableUnit, java.io.File location)
-
removeEntriesWithUnknownType
public void removeEntriesWithUnknownType()
-
addNonReactorUnit
public void addNonReactorUnit(org.eclipse.equinox.p2.metadata.IInstallableUnit installableUnit)
-
addNonReactorUnits
public void addNonReactorUnits(java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> installableUnits)
-
getNonReactorUnits
public java.util.Set<?> getNonReactorUnits()
- Specified by:
getNonReactorUnits
in interfaceP2ResolutionResult
-
-