java.lang.Object |
↳ |
com.atlassian.plugin.osgi.factory.transform.model.SystemExports |
Class Overview
Encapsulates the package exports from the system bundle
Summary
Public Constructors |
|
SystemExports(String exportsLine)
Constructs an instance by parsing the exports line from the manifest
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Fields
Public Constructors
public
SystemExports
(String exportsLine)
Constructs an instance by parsing the exports line from the manifest
Parameters
exportsLine
| The Export-Package header value
|
Public Methods
public
String
getFullExport
(String pkg)
Constructs a package export, taking into account any attributes on the system export, including the version.
The version is handled special, in that is added as an exact match, i.e. [1.0,1.0].
Returns
- The full export line to use for a host component import
public
boolean
isExported
(String pkg)
Returns
- True if the package is being exported, false otherwise