org.sonatype.tycho.p2.impl.publisher
Class AbstractDependenciesAction

java.lang.Object
  extended by org.eclipse.equinox.p2.publisher.AbstractPublisherAction
      extended by org.sonatype.tycho.p2.impl.publisher.AbstractDependenciesAction
All Implemented Interfaces:
org.eclipse.equinox.p2.publisher.IPublisherAction
Direct Known Subclasses:
AbstractSiteDependenciesAction, FeatureDependenciesAction, ProductDependenciesAction

public abstract class AbstractDependenciesAction
extends org.eclipse.equinox.p2.publisher.AbstractPublisherAction


Field Summary
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
 
Constructor Summary
AbstractDependenciesAction()
           
 
Method Summary
protected  void addProperties(org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription iud)
           
protected  void addProvidedCapabilities(Set<org.eclipse.equinox.p2.metadata.IProvidedCapability> provided)
           
protected  void addRequiredCapability(Set<org.eclipse.equinox.p2.metadata.IRequirement> required, String id, org.eclipse.equinox.p2.metadata.Version version, String filter)
           
protected  void addResults(org.eclipse.equinox.p2.publisher.IPublisherResult results)
           
protected  org.eclipse.equinox.p2.metadata.Version createVersion(String version)
           
protected  String getFilter(String os, String ws, String arch)
           
protected  String getFilter(String filter, String os, String ws, String arch, String nl)
           
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, createPack200ArtifactDescriptor, createParentIU, createParentPrefixComputer, createRootPrefixComputer, createSelfCapability, filterMatches, getArrayFromString, parseConfigSpec, processAdditionalInstallableUnitsAdvice, processArtifactPropertiesAdvice, processCapabilityAdvice, processInstallableUnitPropertiesAdvice, processTouchpointAdvice, processTouchpointAdvice, publishArtifact, publishArtifact, queryForIU, queryForIUs, setPublisherInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

FEATURE_GROUP_IU_SUFFIX

protected static final String FEATURE_GROUP_IU_SUFFIX
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)

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

addResults

protected void addResults(org.eclipse.equinox.p2.publisher.IPublisherResult results)

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)
See Also:
org.codehaus.tycho.TargetPlatform.getArtifact(String, String, String)

getFilter

protected String getFilter(String os,
                           String ws,
                           String arch)

getFilter

protected String getFilter(String filter,
                           String os,
                           String ws,
                           String arch,
                           String nl)

createVersion

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


Copyright © 2008-2011. All Rights Reserved.