Package org.opentcs.configuration
Enum Class ConfigurationEntry.ChangesApplied
java.lang.Object
java.lang.Enum<ConfigurationEntry.ChangesApplied>
org.opentcs.configuration.ConfigurationEntry.ChangesApplied
- All Implemented Interfaces:
Serializable
,Comparable<ConfigurationEntry.ChangesApplied>
,Constable
- Enclosing class:
ConfigurationEntry
public static enum ConfigurationEntry.ChangesApplied
extends Enum<ConfigurationEntry.ChangesApplied>
Indicates when changes to the configuration entry's value are applied.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionChanges to the configuration value are picked up during runtime instantly, without requiring an explicit trigger.Changes to the configuration value are picked up when the application is (re)started.Changes to the configuration value are picked up when/after a plant model is loaded.When a configuration change is applied is not explicitly specified. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ConfigurationEntry.ChangesApplied[]
values()
Returns an array containing the constants of this enum class, 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 class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-