java.io.Serializable, java.lang.Comparable<BeanScanning>public enum BeanScanning extends java.lang.Enum<BeanScanning>
SpaceModule| Enum Constant | Description |
|---|---|
CACHE |
Scan once and cache results
|
GLOBAL_INDEX |
Use global index (application)
|
INDEX |
Use local index (plug-ins)
|
OFF |
Never scan
|
ON |
Always scan
|
| Modifier and Type | Method | Description |
|---|---|---|
static BeanScanning |
select(java.util.Map<?,?> properties) |
Selects the property named "org.eclipse.sisu.space.BeanScanning" and attempts to map its value to a
BeanScanning literal, ignoring case. |
static BeanScanning |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static BeanScanning[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanScanning ON
public static final BeanScanning OFF
public static final BeanScanning CACHE
public static final BeanScanning INDEX
public static final BeanScanning GLOBAL_INDEX
public static BeanScanning[] values()
for (BeanScanning c : BeanScanning.values()) System.out.println(c);
public static BeanScanning valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static BeanScanning select(java.util.Map<?,?> properties) throws java.lang.IllegalArgumentException
BeanScanning literal, ignoring case. Defaults to ON for blank or null values.properties - The propertiesjava.lang.IllegalArgumentException - if the property value cannot be mapped