org.apache.ivy.osgi.core
Class BundleInfoAdapter
java.lang.Object
org.apache.ivy.osgi.core.BundleInfoAdapter
public class BundleInfoAdapter
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONF_NAME_DEFAULT
public static final java.lang.String CONF_NAME_DEFAULT
- See Also:
- Constant Field Values
CONF_DEFAULT
public static final Configuration CONF_DEFAULT
CONF_NAME_OPTIONAL
public static final java.lang.String CONF_NAME_OPTIONAL
- See Also:
- Constant Field Values
CONF_OPTIONAL
public static final Configuration CONF_OPTIONAL
CONF_NAME_TRANSITIVE_OPTIONAL
public static final java.lang.String CONF_NAME_TRANSITIVE_OPTIONAL
- See Also:
- Constant Field Values
CONF_TRANSITIVE_OPTIONAL
public static final Configuration CONF_TRANSITIVE_OPTIONAL
CONF_USE_PREFIX
public static final java.lang.String CONF_USE_PREFIX
- See Also:
- Constant Field Values
EXTRA_INFO_EXPORT_PREFIX
public static final java.lang.String EXTRA_INFO_EXPORT_PREFIX
- See Also:
- Constant Field Values
BundleInfoAdapter
public BundleInfoAdapter()
toModuleDescriptor
public static DefaultModuleDescriptor toModuleDescriptor(ModuleDescriptorParser parser,
java.net.URI baseUri,
BundleInfo bundle,
ExecutionEnvironmentProfileProvider profileProvider)
throws BundleInfoAdapter.ProfileNotFoundException
- Parameters:
baseUri
- uri to help build the absolute url if the bundle info has a relative uri.bundle
- profileProvider
- parser
-
- Returns:
-
- Throws:
BundleInfoAdapter.ProfileNotFoundException
getConfigurations
public static java.util.List getConfigurations(BundleInfo bundle)
buildIvyURI
public static java.net.URI buildIvyURI(Artifact artifact)
asMrid
public static ModuleRevisionId asMrid(java.lang.String type,
java.lang.String name,
Version v)
asMrid
public static ModuleRevisionId asMrid(java.lang.String type,
java.lang.String name,
VersionRange v)