Package org.hcjf.log
Enum Log.LogGroup
- java.lang.Object
-
- java.lang.Enum<Log.LogGroup>
-
- org.hcjf.log.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
-
-
Method Summary
Modifier and Type Method Description java.lang.StringgetGroup()Return the group label.java.lang.IntegergetOrder()Return the group order.java.util.logging.LevelgetStandardLevel()static Log.LogGroupvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.Log.LogGroupvalueOfByTag(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.
-
-
-
Enum Constant Detail
-
DEBUG
public static final Log.LogGroup DEBUG
-
INPUT
public static final Log.LogGroup INPUT
-
OUTPUT
public static final Log.LogGroup OUTPUT
-
INFO
public static final Log.LogGroup INFO
-
WARNING
public static final Log.LogGroup WARNING
-
ERROR
public static final Log.LogGroup ERROR
-
-
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 namejava.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()
-
-