Enum Class EventScriptSingletonNode.EventScriptState
java.lang.Object
java.lang.Enum<EventScriptSingletonNode.EventScriptState>
com.inductiveautomation.ignition.designer.navtree.EventScriptSingletonNode.EventScriptState
- All Implemented Interfaces:
Serializable
,Comparable<EventScriptSingletonNode.EventScriptState>
,Constable
- Enclosing class:
- EventScriptSingletonNode
protected static enum EventScriptSingletonNode.EventScriptState
extends Enum<EventScriptSingletonNode.EventScriptState>
Represents the various states of event scripts based on their configuration and migration needs.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionState when modern resources exist alongside a local legacy script configuration.State when modern resources exist alongside an inherited legacy script configuration.State when an overridden legacy script configuration exists without modern resources.State when no migration or conflicts are detected.State when no modern resources exist, but a local legacy script configuration is present.State when no modern resources exist, but an inherited legacy script configuration is present. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONFLICT_LOCAL
State when modern resources exist alongside a local legacy script configuration. Indicates a conflict that needs to be resolved locally. -
CONFLICT_PARENT
State when modern resources exist alongside an inherited legacy script configuration. Indicates a conflict that needs to be resolved in the parent project. -
CONFUSING_STATE
State when an overridden legacy script configuration exists without modern resources. Indicates an ambiguous or confusing state that requires migration in the parent project first. -
MIGRATE_PARENT
State when no modern resources exist, but an inherited legacy script configuration is present. Migration is required in the parent project. -
MIGRATE_LOCAL
State when no modern resources exist, but a local legacy script configuration is present. Migration is required locally. -
GOOD_NOTHING_TO_DO
State when no migration or conflicts are detected. Indicates that no action is required.
-
-
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
-