Class DefaultDependencyArtifacts

    • Field Detail

      • project

        protected final ReactorProject project
        'this' project, i.e. the project the dependencies were resolved for. can be null.
      • nonReactorUnits

        protected final Set<Object> nonReactorUnits
        Set of installable unit in the target platform of the module that do not come from the local reactor.
    • Constructor Detail

      • DefaultDependencyArtifacts

        public DefaultDependencyArtifacts()
      • DefaultDependencyArtifacts

        public DefaultDependencyArtifacts​(ReactorProject project)
    • Method Detail

      • getNonReactorUnits

        public Set<?> getNonReactorUnits()
        Description copied from interface: DependencyArtifacts
        Set of IInstallableUnits in the resolved project dependencies that come from outside the local reactor, or null if the the project dependencies were not resolved from a p2 target platform.
        Specified by:
        getNonReactorUnits in interface DependencyArtifacts
        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 interface DependencyArtifacts
        Returns:
        Set<IInstallableUnit> or null
      • addNonReactorUnits

        public void addNonReactorUnits​(Set<?> installableUnits)