Class 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 class
      static java.lang.String VERSION_ATTRIBUTE
      The version of this bundle as set by Bundle-Version, not set if absent
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • MainClassNamespace

        public MainClassNamespace()
    • Method Detail

      • filter

        public static java.lang.String filter​(java.lang.String mainClass,
                                              org.osgi.framework.VersionRange range)