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
FieldsModifier and TypeFieldDescriptionprivate List<BundleArtifact>
static final String
private Set<BundleCapability>
static final Version
private String
private String
static final String
private boolean
private String
private boolean
private String
static final String
private String
private Set<BundleRequirement>
static final String
private Integer
private String
private String
the symbolic name of the bundle it is source ofprivate Version
private Version
the version of the bundle it is source of -
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:
-
symbolicName
-
presentationName
-
id
-
version
-
requirements
-
capabilities
-
executionEnvironments
-
description
-
documentation
-
license
-
size
-
isSource
private boolean isSource -
symbolicNameTarget
the symbolic name of the bundle it is source of -
versionTarget
the version of the bundle it is source of -
hasInnerClasspath
private boolean hasInnerClasspath -
classpath
-
artifacts
-
-
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
-