Enum Class NotificationCommandType

java.lang.Object
java.lang.Enum<NotificationCommandType>
org.jolokia.server.core.request.notification.NotificationCommandType
All Implemented Interfaces:
Serializable, Comparable<NotificationCommandType>, java.lang.constant.Constable

public enum NotificationCommandType extends Enum<NotificationCommandType>
Enum specifying the possible notification command types
Since:
19.03.13
Author:
roland
  • Enum Constant Details

  • Method Details

    • values

      public static NotificationCommandType[] 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 NotificationCommandType 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
    • getType

      public String getType()
      Return the name of the type
      Returns:
      name of type
    • getTypeByName

      public static NotificationCommandType getTypeByName(String pName)
      Case insensitive lookup by name
      Parameters:
      pName - name of the command (lower- or upper case)
      Returns:
      command looked up
      Throws:
      IllegalArgumentException - if the argument is either null or does not map to a type.