Enum Class Recipient.AgentType

java.lang.Object
java.lang.Enum<Recipient.AgentType>
com.groiss.messaging.Recipient.AgentType
All Implemented Interfaces:
DefinedEnum, Serializable, Comparable<Recipient.AgentType>, Constable
Enclosing class:
Recipient

public static enum Recipient.AgentType extends Enum<Recipient.AgentType> implements DefinedEnum
Defines the various kinds of agents
  • Enum Constant Details

  • Method Details

    • values

      public static Recipient.AgentType[] 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 Recipient.AgentType 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
    • definedValue

      public Short definedValue()
      Description copied from interface: DefinedEnum
      Get the fixed value for this DefinedEnum. At the moment, Strings, Shorts, Integers and Longs are supported.
      Specified by:
      definedValue in interface DefinedEnum
      Returns:
      the fixed value