Class AbstractDependenciesAction

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static String ANY_QUALIFIER
      Conventional qualifier used to denote "ANY QUALIFIER" in feature.xml and .product files.
      protected static String FEATURE_GROUP_IU_SUFFIX  
      protected static String OSGI_ARCH
      copy&paste from e3.5.1 org.eclipse.osgi.internal.resolver.StateImpl
      protected static String OSGI_NL
      copy&paste from e3.5.1 org.eclipse.osgi.internal.resolver.StateImpl
      protected static String OSGI_OS
      copy&paste from e3.5.1 org.eclipse.osgi.internal.resolver.StateImpl
      protected static org.eclipse.equinox.p2.metadata.Version OSGi_versionMin  
      protected static String OSGI_WS
      copy&paste from e3.5.1 org.eclipse.osgi.internal.resolver.StateImpl
      • Fields inherited from class org.eclipse.equinox.p2.publisher.AbstractPublisherAction

        CONFIG_ANY, CONFIG_SEGMENT_SEPARATOR, info
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addProperties​(org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription iud)  
      protected void addProvidedCapabilities​(Set<org.eclipse.equinox.p2.metadata.IProvidedCapability> provided)  
      protected void addPublisherAdvice​(org.eclipse.equinox.p2.publisher.IPublisherInfo publisherInfo)  
      protected void addRequiredCapability​(Set<org.eclipse.equinox.p2.metadata.IRequirement> required, String id, org.eclipse.equinox.p2.metadata.Version version, String filter, boolean optional)  
      protected org.eclipse.equinox.p2.metadata.Version createVersion​(String version)  
      protected abstract String getId()  
      protected abstract Set<org.eclipse.equinox.p2.metadata.IRequirement> getRequiredCapabilities()  
      protected abstract org.eclipse.equinox.p2.metadata.Version getVersion()  
      protected org.eclipse.equinox.p2.metadata.VersionRange getVersionRange​(String version)  
      protected org.eclipse.equinox.p2.metadata.VersionRange getVersionRange​(org.eclipse.equinox.p2.metadata.Version version)  
      org.eclipse.core.runtime.IStatus perform​(org.eclipse.equinox.p2.publisher.IPublisherInfo publisherInfo, org.eclipse.equinox.p2.publisher.IPublisherResult results, org.eclipse.core.runtime.IProgressMonitor monitor)  
      • Methods inherited from class org.eclipse.equinox.p2.publisher.AbstractPublisherAction

        addSelfCapability, createConfigSpec, createCUIdString, createFilterSpec, createIdString, createIURequirements, createIUShell, createLDAPString, createPack200ArtifactDescriptor, createParentIU, createParentPrefixComputer, createRootPrefixComputer, createSelfCapability, filterMatches, getArrayFromString, parseConfigSpec, processAdditionalInstallableUnitsAdvice, processArtifactPropertiesAdvice, processCapabilityAdvice, processInstallableUnitPropertiesAdvice, processTouchpointAdvice, processTouchpointAdvice, processUpdateDescriptorAdvice, publishArtifact, publishArtifact, queryForIU, queryForIUs, setPublisherInfo, toRequiredCapability
    • Field Detail

      • OSGi_versionMin

        protected static final org.eclipse.equinox.p2.metadata.Version OSGi_versionMin
      • ANY_QUALIFIER

        protected static final String ANY_QUALIFIER
        Conventional qualifier used to denote "ANY QUALIFIER" in feature.xml and .product files. See TYCHO-383.
        See Also:
        Constant Field Values
      • OSGI_OS

        protected static final String OSGI_OS
        copy&paste from e3.5.1 org.eclipse.osgi.internal.resolver.StateImpl
        See Also:
        Constant Field Values
      • OSGI_WS

        protected static final String OSGI_WS
        copy&paste from e3.5.1 org.eclipse.osgi.internal.resolver.StateImpl
        See Also:
        Constant Field Values
      • OSGI_ARCH

        protected static final String OSGI_ARCH
        copy&paste from e3.5.1 org.eclipse.osgi.internal.resolver.StateImpl
        See Also:
        Constant Field Values
      • OSGI_NL

        protected static final String OSGI_NL
        copy&paste from e3.5.1 org.eclipse.osgi.internal.resolver.StateImpl
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractDependenciesAction

        public AbstractDependenciesAction()
    • Method Detail

      • addRequiredCapability

        protected void addRequiredCapability​(Set<org.eclipse.equinox.p2.metadata.IRequirement> required,
                                             String id,
                                             org.eclipse.equinox.p2.metadata.Version version,
                                             String filter,
                                             boolean optional)
      • perform

        public org.eclipse.core.runtime.IStatus perform​(org.eclipse.equinox.p2.publisher.IPublisherInfo publisherInfo,
                                                        org.eclipse.equinox.p2.publisher.IPublisherResult results,
                                                        org.eclipse.core.runtime.IProgressMonitor monitor)
        Specified by:
        perform in interface org.eclipse.equinox.p2.publisher.IPublisherAction
        Specified by:
        perform in class org.eclipse.equinox.p2.publisher.AbstractPublisherAction
      • addPublisherAdvice

        protected void addPublisherAdvice​(org.eclipse.equinox.p2.publisher.IPublisherInfo publisherInfo)
      • addProperties

        protected void addProperties​(org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription iud)
      • getRequiredCapabilities

        protected abstract Set<org.eclipse.equinox.p2.metadata.IRequirement> getRequiredCapabilities()
      • addProvidedCapabilities

        protected void addProvidedCapabilities​(Set<org.eclipse.equinox.p2.metadata.IProvidedCapability> provided)
      • getVersion

        protected abstract org.eclipse.equinox.p2.metadata.Version getVersion()
      • getId

        protected abstract String getId()
      • getVersionRange

        protected org.eclipse.equinox.p2.metadata.VersionRange getVersionRange​(String version)
      • getVersionRange

        protected org.eclipse.equinox.p2.metadata.VersionRange getVersionRange​(org.eclipse.equinox.p2.metadata.Version version)
      • createVersion

        protected org.eclipse.equinox.p2.metadata.Version createVersion​(String version)