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.
  • Enum Constant Details

    • CONFLICT_LOCAL

      public static final EventScriptSingletonNode.EventScriptState CONFLICT_LOCAL
      State when modern resources exist alongside a local legacy script configuration. Indicates a conflict that needs to be resolved locally.
    • CONFLICT_PARENT

      public static final EventScriptSingletonNode.EventScriptState 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

      public static final EventScriptSingletonNode.EventScriptState 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

      public static final EventScriptSingletonNode.EventScriptState 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

      public static final EventScriptSingletonNode.EventScriptState MIGRATE_LOCAL
      State when no modern resources exist, but a local legacy script configuration is present. Migration is required locally.
    • GOOD_NOTHING_TO_DO

      public static final EventScriptSingletonNode.EventScriptState 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

      public static EventScriptSingletonNode.EventScriptState valueOf(String name)
      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 name
      NullPointerException - if the argument is null