@Beta public static enum AttributeSensor.SensorPersistenceMode extends java.lang.Enum<AttributeSensor.SensorPersistenceMode>
Enum Constant and Description |
---|
NONE
Indicates that this sensor should not be persisted; therefore its value for any entity
will be null immediately after rebind.
|
REQUIRED
Indicates that this sensor should be persisted, and its value should be read from
persisted state on rebind.
|
Modifier and Type | Method and Description |
---|---|
static AttributeSensor.SensorPersistenceMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttributeSensor.SensorPersistenceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeSensor.SensorPersistenceMode REQUIRED
public static final AttributeSensor.SensorPersistenceMode NONE
public static AttributeSensor.SensorPersistenceMode[] values()
for (AttributeSensor.SensorPersistenceMode c : AttributeSensor.SensorPersistenceMode.values()) System.out.println(c);
public static AttributeSensor.SensorPersistenceMode 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 null