Package org.eclipse.tycho.p2.resolver
Class DefaultP2ResolutionResult
java.lang.Object
org.eclipse.tycho.p2.resolver.DefaultP2ResolutionResult
- All Implemented Interfaces:
P2ResolutionResult
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.tycho.p2.resolver.facade.P2ResolutionResult
P2ResolutionResult.Entry -
Constructor Summary
ConstructorsConstructorDescriptionDefaultP2ResolutionResult(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> dependencyFragments, P2TargetPlatform resolutionContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArtifact(ArtifactKey artifactKey, String classifier, org.eclipse.equinox.p2.metadata.IInstallableUnit installableUnit, org.eclipse.equinox.p2.metadata.IArtifactKey p2ArtifactKey) voidaddNonReactorUnit(org.eclipse.equinox.p2.metadata.IInstallableUnit installableUnit) voidaddNonReactorUnits(Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> installableUnits) voidaddResolvedArtifact(Optional<ArtifactKey> artifactKey, String classifier, org.eclipse.equinox.p2.metadata.IInstallableUnit installableUnit, File location) Set<org.eclipse.equinox.p2.metadata.IInstallableUnit>void
-
Constructor Details
-
DefaultP2ResolutionResult
public DefaultP2ResolutionResult(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> dependencyFragments, P2TargetPlatform resolutionContext)
-
-
Method Details
-
getArtifacts
- Specified by:
getArtifactsin interfaceP2ResolutionResult
-
addArtifact
public void addArtifact(ArtifactKey artifactKey, String classifier, org.eclipse.equinox.p2.metadata.IInstallableUnit installableUnit, org.eclipse.equinox.p2.metadata.IArtifactKey p2ArtifactKey) -
addResolvedArtifact
public void addResolvedArtifact(Optional<ArtifactKey> artifactKey, String classifier, org.eclipse.equinox.p2.metadata.IInstallableUnit installableUnit, File location) -
removeEntriesWithUnknownType
public void removeEntriesWithUnknownType() -
addNonReactorUnit
public void addNonReactorUnit(org.eclipse.equinox.p2.metadata.IInstallableUnit installableUnit) -
addNonReactorUnits
public void addNonReactorUnits(Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> installableUnits) -
getNonReactorUnits
- Specified by:
getNonReactorUnitsin interfaceP2ResolutionResult
-
getDependencyFragments
- Specified by:
getDependencyFragmentsin interfaceP2ResolutionResult
-