java.lang.Object
java.lang.Enum<NodeRole>
com.inductiveautomation.ignition.client.gateway_interface.enums.redundancy.NodeRole
All Implemented Interfaces:
Localized, Serializable, Comparable<NodeRole>, Constable

public enum NodeRole extends Enum<NodeRole> implements Localized
Copied from com.inductiveautomation.ignition.gateway.redundancy.types.NodeRole. This code cannot be placed in common due to the fact that it will break all non-IA modules that depend on the GatewayAPI version.
  • Enum Constant Details

    • Independent

      public static final NodeRole Independent
    • Backup

      public static final NodeRole Backup
    • Master

      public static final NodeRole Master
  • Method Details

    • values

      public static NodeRole[] 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 NodeRole 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
    • toString

      public String toString(Locale locale)
      Specified by:
      toString in interface Localized