Package aQute.bnd.component
Enum DSAnnotations.Options
- java.lang.Object
-
- java.lang.Enum<DSAnnotations.Options>
-
- aQute.bnd.component.DSAnnotations.Options
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DSAnnotations.Options>
- Enclosing class:
- DSAnnotations
public static enum DSAnnotations.Options extends java.lang.Enum<DSAnnotations.Options>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description extenderfelixExtensionsinheritnocapabilitiesnorequirementsversion
-
Constructor Summary
Constructors Modifier Constructor Description privateOptions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static voidparseOption(java.util.Map.Entry<java.lang.String,Attrs> entry, java.util.Set<DSAnnotations.Options> options, DSAnnotations.VersionSettings state)(package private) voidprocess(DSAnnotations.VersionSettings anno, Attrs attrs)(package private) voidreset(DSAnnotations.VersionSettings anno)static DSAnnotations.OptionsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DSAnnotations.Options[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
inherit
public static final DSAnnotations.Options inherit
-
felixExtensions
public static final DSAnnotations.Options felixExtensions
-
extender
public static final DSAnnotations.Options extender
-
nocapabilities
public static final DSAnnotations.Options nocapabilities
-
norequirements
public static final DSAnnotations.Options norequirements
-
version
public static final DSAnnotations.Options version
-
-
Method Detail
-
values
public static DSAnnotations.Options[] 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 (DSAnnotations.Options c : DSAnnotations.Options.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DSAnnotations.Options 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
-
process
void process(DSAnnotations.VersionSettings anno, Attrs attrs)
-
reset
void reset(DSAnnotations.VersionSettings anno)
-
parseOption
static void parseOption(java.util.Map.Entry<java.lang.String,Attrs> entry, java.util.Set<DSAnnotations.Options> options, DSAnnotations.VersionSettings state)
-
-