Package aQute.bnd.osgi.resource
Class MainClassNamespace
- java.lang.Object
-
- aQute.bnd.osgi.resource.MainClassNamespace
-
public class MainClassNamespace extends java.lang.Object
Represents the Manifest Main-Class header.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MAINCLASS_NAMESPACE
The attribute must be the fully qualified name of the class that acts as main classstatic java.lang.String
VERSION_ATTRIBUTE
The version of this bundle as set by Bundle-Version, not set if absent
-
Constructor Summary
Constructors Constructor Description MainClassNamespace()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
build(CapabilityBuilder mc, Domain manifest)
static java.lang.String
filter(java.lang.String mainClass, org.osgi.framework.VersionRange range)
-
-
-
Field Detail
-
MAINCLASS_NAMESPACE
public static final java.lang.String MAINCLASS_NAMESPACE
The attribute must be the fully qualified name of the class that acts as main class- See Also:
- Constant Field Values
-
VERSION_ATTRIBUTE
public static final java.lang.String VERSION_ATTRIBUTE
The version of this bundle as set by Bundle-Version, not set if absent- See Also:
- Constant Field Values
-
-
Method Detail
-
build
public static void build(CapabilityBuilder mc, Domain manifest)
-
filter
public static java.lang.String filter(java.lang.String mainClass, org.osgi.framework.VersionRange range)
-
-