Package org.apache.xbean.recipe
Enum Option
- java.lang.Object
-
- java.lang.Enum<Option>
-
- org.apache.xbean.recipe.Option
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CASE_INSENSITIVE_FACTORY
CASE_INSENSITIVE_PROPERTIES
FIELD_INJECTION
IGNORE_MISSING_PROPERTIES
LAZY_ASSIGNMENT
NAMED_PARAMETERS
PRIVATE_CONSTRUCTOR
PRIVATE_FACTORY
PRIVATE_PROPERTIES
STATIC_PROPERTIES
-
Constructor Summary
Constructors Modifier Constructor Description private
Option()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Option
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Option[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIVATE_PROPERTIES
public static final Option PRIVATE_PROPERTIES
-
STATIC_PROPERTIES
public static final Option STATIC_PROPERTIES
-
FIELD_INJECTION
public static final Option FIELD_INJECTION
-
IGNORE_MISSING_PROPERTIES
public static final Option IGNORE_MISSING_PROPERTIES
-
CASE_INSENSITIVE_PROPERTIES
public static final Option CASE_INSENSITIVE_PROPERTIES
-
LAZY_ASSIGNMENT
public static final Option LAZY_ASSIGNMENT
-
PRIVATE_CONSTRUCTOR
public static final Option PRIVATE_CONSTRUCTOR
-
PRIVATE_FACTORY
public static final Option PRIVATE_FACTORY
-
CASE_INSENSITIVE_FACTORY
public static final Option CASE_INSENSITIVE_FACTORY
-
NAMED_PARAMETERS
public static final Option NAMED_PARAMETERS
-
-
Method Detail
-
values
public static Option[] 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 (Option c : Option.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Option 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
-
-