Package aQute.bnd.metatype
Enum MetatypeAnnotations.Options
- java.lang.Object
-
- java.lang.Enum<MetatypeAnnotations.Options>
-
- aQute.bnd.metatype.MetatypeAnnotations.Options
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MetatypeAnnotations.Options>
- Enclosing class:
- MetatypeAnnotations
static enum MetatypeAnnotations.Options extends java.lang.Enum<MetatypeAnnotations.Options>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Options()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static void
parseOption(java.util.Map.Entry<java.lang.String,Attrs> entry, java.util.EnumSet<MetatypeAnnotations.Options> options, MetatypeAnnotations state)
(package private) void
process(MetatypeAnnotations anno, Attrs attrs)
(package private) void
reset(MetatypeAnnotations anno)
static MetatypeAnnotations.Options
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MetatypeAnnotations.Options[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
nested
public static final MetatypeAnnotations.Options nested
-
version
public static final MetatypeAnnotations.Options version
-
-
Method Detail
-
values
public static MetatypeAnnotations.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 (MetatypeAnnotations.Options c : MetatypeAnnotations.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 MetatypeAnnotations.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(MetatypeAnnotations anno, Attrs attrs)
-
reset
void reset(MetatypeAnnotations anno)
-
parseOption
static void parseOption(java.util.Map.Entry<java.lang.String,Attrs> entry, java.util.EnumSet<MetatypeAnnotations.Options> options, MetatypeAnnotations state)
-
-