Enum Message.MessageType

java.lang.Object
java.lang.Enum<Message.MessageType>
com.absint.astree.Message.MessageType
All Implemented Interfaces:
Serializable, Comparable<Message.MessageType>
Enclosing class:
Message

public static enum Message.MessageType extends Enum<Message.MessageType>
possible message types
  • Enum Constant Details

  • Method Details

    • values

      public static Message.MessageType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Message.MessageType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • equalsName

      public boolean equalsName(String otherName)
      check if enum is equal
      Parameters:
      otherName - name to compare with
      Returns:
      true if equal false if not
    • toString

      public String toString()
      convert enumt to string
      Overrides:
      toString in class Enum<Message.MessageType>