public enum BeanScanning extends Enum<BeanScanning>
SpaceModule
Enum Constant and 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 and Description |
---|---|
static BeanScanning |
select(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(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static BeanScanning select(Map<?,?> properties) throws IllegalArgumentException
BeanScanning
literal, ignoring case. Defaults to ON
for blank or null values.properties
- The propertiesIllegalArgumentException
- if the property value cannot be mappedCopyright © 2024. All rights reserved.