Enum Class IGridNodeListener.State

java.lang.Object
java.lang.Enum<IGridNodeListener.State>
appeng.api.networking.IGridNodeListener.State
All Implemented Interfaces:
Serializable, Comparable<IGridNodeListener.State>, Constable
Enclosing interface:
IGridNodeListener<T>

public static enum IGridNodeListener.State extends Enum<IGridNodeListener.State>
Gives a reason for why the active state of the node might have changed.
  • Enum Constant Details

    • POWER

      public static final IGridNodeListener.State POWER
      The node's power status has changed (it either became powered or unpowered).
    • CHANNEL

      public static final IGridNodeListener.State CHANNEL
      The node's assigned channels have changed. This might only be relevant for nodes that require channels.
    • GRID_BOOT

      public static final IGridNodeListener.State GRID_BOOT
      The grid that the node's attached to has either started or finished booting up.
  • Method Details

    • values

      public static IGridNodeListener.State[] 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 IGridNodeListener.State 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