|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.osgi.deployment.maven.manifest.OrderedManifest
net.sourceforge.osgi.deployment.maven.manifest.DeploymentPackageManifest
public class DeploymentPackageManifest
This class represents the manifest of a Deployment-Package. It creates the various headers using the IDeploymentPluginContext
. The
Deployment-Package manifest is an ordered manifest, because the order and empty lines are part of the semantics.
Field Summary | |
---|---|
static java.lang.String |
BUNDLE_LOCALIZATION
Manifest header (named "Bundle-Localization") identifying the base name of the bundle's localization entries. |
static java.lang.String |
BUNDLE_SYMBOLICNAME
Manifest header (named "Bundle-SymbolicName") identifying the bundle's symbolic name. |
static java.lang.String |
BUNDLE_VERSION
Manifest header (named "Bundle-Version") identifying the bundle's version. |
static java.lang.String |
CREATED_AT
Extra header in the manifest file. |
static java.lang.String |
CREATED_BY
Extra header in the manifest file. |
static java.lang.String |
DP_CONTACTADDRESS
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.lang.String |
DP_CONTENT_TYPE
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.lang.String |
DP_COPYRIGHT
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.lang.String |
DP_CUSTOMIZER
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.lang.String |
DP_DESCRIPTION
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.lang.String |
DP_DOCURL
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.lang.String |
DP_FIXPACK
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.lang.String |
DP_LICENSE
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.lang.String |
DP_MANIFESTVERSION
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.lang.String |
DP_NAME
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.lang.String |
DP_RESOURCE_PROCESSOR
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.lang.String |
DP_SHA1_DIGEST
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.lang.String |
DP_SYMBOLICNAME
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.lang.String |
DP_VENDOR
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.lang.String |
DP_VERSION
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.util.regex.Pattern |
PATH_NAME_PATTERN
Constant from the Deployment Admin Specification in the OSGi Platform Release 4, Version 4.1. |
static java.lang.String |
TOOL
Extra header in the manifest file. |
static java.util.regex.Pattern |
UNIQUE_NAME_PATTERN
Constant from the OSGi Platform Release 4, Version 4.1. |
Fields inherited from class net.sourceforge.osgi.deployment.maven.manifest.OrderedManifest |
---|
CONTENT_TYPE, EMPTY_LINE, HEADER_PATTERN, MANIFEST_VERSION |
Constructor Summary | |
---|---|
DeploymentPackageManifest(IDeploymentPluginContext p_context)
|
Method Summary | |
---|---|
static boolean |
isResourceId(java.lang.String p_resourceId)
This method checks whether the given resourceId conforms to the OSGi Specification. |
static boolean |
isUniqueName(java.lang.String p_symbolicName)
This method checks whether the given symbolic name conforms to the OSGi Specification of a unique name. |
static boolean |
isVersion(java.lang.String p_versionToCheck)
This method checks whether the given version conforms to the OSGi Specification. |
static boolean |
isVersionRange(java.lang.String p_versionRange)
This method checks whether the given version range conforms to the OSGi Specification. |
Methods inherited from class net.sourceforge.osgi.deployment.maven.manifest.OrderedManifest |
---|
add, add, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CREATED_BY
public static final java.lang.String TOOL
public static final java.lang.String CREATED_AT
public static final java.lang.String DP_MANIFESTVERSION
public static final java.lang.String DP_CONTENT_TYPE
public static final java.lang.String DP_SYMBOLICNAME
public static final java.lang.String DP_VERSION
public static final java.lang.String DP_COPYRIGHT
public static final java.lang.String DP_CONTACTADDRESS
public static final java.lang.String DP_DESCRIPTION
public static final java.lang.String DP_DOCURL
public static final java.lang.String DP_VENDOR
public static final java.lang.String DP_LICENSE
public static final java.lang.String DP_FIXPACK
public static final java.lang.String DP_CUSTOMIZER
public static final java.lang.String DP_NAME
public static final java.lang.String DP_SHA1_DIGEST
public static final java.lang.String DP_RESOURCE_PROCESSOR
public static final java.util.regex.Pattern PATH_NAME_PATTERN
public static final java.util.regex.Pattern UNIQUE_NAME_PATTERN
public static final java.lang.String BUNDLE_VERSION
public static final java.lang.String BUNDLE_SYMBOLICNAME
public static final java.lang.String BUNDLE_LOCALIZATION
Constructor Detail |
---|
public DeploymentPackageManifest(IDeploymentPluginContext p_context)
p_context
- the contextMethod Detail |
---|
public static boolean isVersion(java.lang.String p_versionToCheck)
p_versionToCheck
- the version to check
TRUE>
if the version is valid, else FALSE
public static final boolean isVersionRange(java.lang.String p_versionRange)
p_versionRange
- the version range to check
TRUE>
if the version range is valid, else FALSE
public static boolean isUniqueName(java.lang.String p_symbolicName)
p_symbolicName
- the symbolic name to check
TRUE>
if the symbolic name is valid, else FALSE
public static boolean isResourceId(java.lang.String p_resourceId)
p_resourceId
- the resourceId to check
TRUE>
if the resourceId is valid, else FALSE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |