Package org.apache.ivy.osgi.core
Class BundleInfo
java.lang.Object
org.apache.ivy.osgi.core.BundleInfo
Bundle info extracted from the bundle manifest.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addArtifact
(BundleArtifact artifact) void
addCapability
(BundleCapability capability) void
void
addRequirement
(BundleRequirement requirement) boolean
getId()
getSize()
int
hashCode()
boolean
boolean
isSource()
void
removeArtifact
(BundleArtifact same) void
setClasspath
(List<String> classpath) void
setDescription
(String description) void
setDocumentation
(String documentation) void
setExecutionEnvironments
(List<String> executionEnvironments) void
setHasInnerClasspath
(boolean hasInnerClasspath) void
void
setLicense
(String license) void
setPresentationName
(String presentationName) void
void
setSource
(boolean isSource) void
setSymbolicNameTarget
(String symbolicNameTarget) void
setVersionTarget
(Version versionTarget) toString()
-
Field Details
-
DEFAULT_VERSION
-
PACKAGE_TYPE
- See Also:
-
BUNDLE_TYPE
- See Also:
-
EXECUTION_ENVIRONMENT_TYPE
- See Also:
-
SERVICE_TYPE
- See Also:
-
-
Constructor Details
-
BundleInfo
-
-
Method Details
-
toString
-
getSymbolicName
-
getVersion
-
getRawVersion
-
setId
-
getId
-
setPresentationName
-
getPresentationName
-
setDescription
-
getDescription
-
setDocumentation
-
getDocumentation
-
setLicense
-
getLicense
-
setSize
-
getSize
-
addRequirement
-
getRequirements
-
addCapability
-
getCapabilities
-
getExecutionEnvironments
-
setExecutionEnvironments
-
addExecutionEnvironment
-
setSource
public void setSource(boolean isSource) -
isSource
public boolean isSource() -
setSymbolicNameTarget
-
getSymbolicNameTarget
-
setVersionTarget
-
getVersionTarget
-
setHasInnerClasspath
public void setHasInnerClasspath(boolean hasInnerClasspath) -
hasInnerClasspath
public boolean hasInnerClasspath() -
setClasspath
-
getClasspath
-
addArtifact
-
removeArtifact
-
getArtifacts
-
hashCode
public int hashCode() -
equals
-
getRequires
-
getImports
-
getExports
-
getServices
-