Enum Class SyslogFieldKeys

java.lang.Object
java.lang.Enum<SyslogFieldKeys>
com.github.palindromicity.syslog.dsl.SyslogFieldKeys
All Implemented Interfaces:
Serializable, Comparable<SyslogFieldKeys>, java.lang.constant.Constable

public enum SyslogFieldKeys extends Enum<SyslogFieldKeys>
Keys for use in maps of Syslog Data.
  • Enum Constant Details

    • MESSAGE

      public static final SyslogFieldKeys MESSAGE
    • HEADER_APPNAME

      public static final SyslogFieldKeys HEADER_APPNAME
    • HEADER_HOSTNAME

      public static final SyslogFieldKeys HEADER_HOSTNAME
    • HEADER_PRI

      public static final SyslogFieldKeys HEADER_PRI
    • HEADER_PRI_SEVERITY

      public static final SyslogFieldKeys HEADER_PRI_SEVERITY
    • HEADER_PRI_FACILITY

      public static final SyslogFieldKeys HEADER_PRI_FACILITY
    • HEADER_PROCID

      public static final SyslogFieldKeys HEADER_PROCID
    • HEADER_TIMESTAMP

      public static final SyslogFieldKeys HEADER_TIMESTAMP
    • HEADER_MSGID

      public static final SyslogFieldKeys HEADER_MSGID
    • HEADER_VERSION

      public static final SyslogFieldKeys HEADER_VERSION
    • STRUCTURED_BASE

      public static final SyslogFieldKeys STRUCTURED_BASE
    • STRUCTURED_ELEMENT_ID_FMT

      public static final SyslogFieldKeys STRUCTURED_ELEMENT_ID_FMT
    • STRUCTURED_ELEMENT_ID_PNAME_FMT

      public static final SyslogFieldKeys STRUCTURED_ELEMENT_ID_PNAME_FMT
    • STRUCTURED_ELEMENT_ID_PNAME_PATTERN

      public static final SyslogFieldKeys STRUCTURED_ELEMENT_ID_PNAME_PATTERN
  • Method Details

    • values

      public static SyslogFieldKeys[] 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 SyslogFieldKeys 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
    • getField

      public String getField()
      Returns the value.
      Returns:
      the Field value.