Package org.opentcs.configuration
Enum ConfigurationEntry.ChangesApplied
java.lang.Object
java.lang.Enum<ConfigurationEntry.ChangesApplied>
org.opentcs.configuration.ConfigurationEntry.ChangesApplied
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ConfigurationEntry.ChangesApplied>
,java.lang.constant.Constable
- Enclosing class:
- ConfigurationEntry
public static enum ConfigurationEntry.ChangesApplied extends java.lang.Enum<ConfigurationEntry.ChangesApplied>
Indicates when changes to the configuration entry's value are applied.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANTLY
Changes to the configuration value are picked up during runtime instantly, without requiring an explicit trigger.ON_APPLICATION_START
Changes to the configuration value are picked up when the application is (re)started.ON_NEW_PLANT_MODEL
Changes to the configuration value are picked up when/after a plant model is loaded.UNSPECIFIED
When a configuration change is applied is not explicitly specified. -
Method Summary
Modifier and Type Method Description static ConfigurationEntry.ChangesApplied
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ConfigurationEntry.ChangesApplied[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
When a configuration change is applied is not explicitly specified. -
ON_APPLICATION_START
Changes to the configuration value are picked up when the application is (re)started. -
ON_NEW_PLANT_MODEL
Changes to the configuration value are picked up when/after a plant model is loaded. -
INSTANTLY
Changes to the configuration value are picked up during runtime instantly, without requiring an explicit trigger.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-