Package org.hcjf.log

Enum Log.LogGroup

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Log.LogGroup>, java.lang.constant.Constable
    Enclosing class:
    Log

    public static enum Log.LogGroup
    extends java.lang.Enum<Log.LogGroup>
    This enum contains all the possible groups for the records
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Enum

        java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getGroup()
      Return the group label.
      java.lang.Integer getOrder()
      Return the group order.
      java.util.logging.Level getStandardLevel()  
      static Log.LogGroup valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      Log.LogGroup valueOfByTag​(java.lang.String tagString)
      Return the group instance that correspond with the parameter.
      static Log.LogGroup[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • values

        public static Log.LogGroup[] 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 Log.LogGroup valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getOrder

        public java.lang.Integer getOrder()
        Return the group order.
        Returns:
        Tag order.
      • getGroup

        public java.lang.String getGroup()
        Return the group label.
        Returns:
        Tag label.
      • valueOfByTag

        public Log.LogGroup valueOfByTag​(java.lang.String tagString)
        Return the group instance that correspond with the parameter.
        Parameters:
        tagString - String group
        Returns:
        Tag instance founded or null if the instance is not exist.
      • getStandardLevel

        public java.util.logging.Level getStandardLevel()