Package aQute.bnd.osgi
Enum PermissionGenerator.Parameter
- java.lang.Object
-
- java.lang.Enum<PermissionGenerator.Parameter>
-
- aQute.bnd.osgi.PermissionGenerator.Parameter
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PermissionGenerator.Parameter>
- Enclosing class:
- PermissionGenerator
public static enum PermissionGenerator.Parameter extends java.lang.Enum<PermissionGenerator.Parameter>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMIN
CAPABILITIES
PACKAGES
SERVICES
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
generate(java.lang.StringBuilder sb, Builder builder)
static PermissionGenerator.Parameter
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PermissionGenerator.Parameter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADMIN
public static final PermissionGenerator.Parameter ADMIN
-
CAPABILITIES
public static final PermissionGenerator.Parameter CAPABILITIES
-
PACKAGES
public static final PermissionGenerator.Parameter PACKAGES
-
SERVICES
public static final PermissionGenerator.Parameter SERVICES
-
-
Method Detail
-
values
public static PermissionGenerator.Parameter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PermissionGenerator.Parameter c : PermissionGenerator.Parameter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PermissionGenerator.Parameter valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
generate
public abstract void generate(java.lang.StringBuilder sb, Builder builder)
-
-