Class DefaultP2ResolutionResult

java.lang.Object
org.eclipse.tycho.p2.resolver.DefaultP2ResolutionResult
All Implemented Interfaces:
P2ResolutionResult

public class DefaultP2ResolutionResult extends Object implements P2ResolutionResult
  • Constructor Details

    • DefaultP2ResolutionResult

      public DefaultP2ResolutionResult(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> dependencyFragments, P2TargetPlatform resolutionContext)
  • Method Details

    • getArtifacts

      public Collection<P2ResolutionResult.Entry> getArtifacts()
      Specified by:
      getArtifacts in interface P2ResolutionResult
    • 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

      public Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> getNonReactorUnits()
      Specified by:
      getNonReactorUnits in interface P2ResolutionResult
    • getDependencyFragments

      public Collection<P2ResolutionResult.Entry> getDependencyFragments()
      Specified by:
      getDependencyFragments in interface P2ResolutionResult