Package com.jalios.jcms.logging
Enum LoggingSetupManager.LoggingLevelDuration
- java.lang.Object
-
- java.lang.Enum<LoggingSetupManager.LoggingLevelDuration>
-
- com.jalios.jcms.logging.LoggingSetupManager.LoggingLevelDuration
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LoggingSetupManager.LoggingLevelDuration>
- Enclosing class:
- LoggingSetupManager
public static enum LoggingSetupManager.LoggingLevelDuration extends java.lang.Enum<LoggingSetupManager.LoggingLevelDuration>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDurationMilliseconds()
java.lang.String
getLabel(java.lang.String userLang)
static java.util.stream.Stream<LoggingSetupManager.LoggingLevelDuration>
stream()
static LoggingSetupManager.LoggingLevelDuration
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LoggingSetupManager.LoggingLevelDuration[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIVE_MIN
public static final LoggingSetupManager.LoggingLevelDuration FIVE_MIN
-
THIRTY_MIN
public static final LoggingSetupManager.LoggingLevelDuration THIRTY_MIN
-
ONE_HOUR
public static final LoggingSetupManager.LoggingLevelDuration ONE_HOUR
-
FOUR_HOUR
public static final LoggingSetupManager.LoggingLevelDuration FOUR_HOUR
-
ONE_DAY
public static final LoggingSetupManager.LoggingLevelDuration ONE_DAY
-
ONE_WEEK
public static final LoggingSetupManager.LoggingLevelDuration ONE_WEEK
-
TWO_WEEK
public static final LoggingSetupManager.LoggingLevelDuration TWO_WEEK
-
NO_LIMIT
public static final LoggingSetupManager.LoggingLevelDuration NO_LIMIT
-
-
Method Detail
-
values
public static LoggingSetupManager.LoggingLevelDuration[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LoggingSetupManager.LoggingLevelDuration c : LoggingSetupManager.LoggingLevelDuration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoggingSetupManager.LoggingLevelDuration 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
-
getLabel
public java.lang.String getLabel(java.lang.String userLang)
-
getDurationMilliseconds
public int getDurationMilliseconds()
-
stream
public static java.util.stream.Stream<LoggingSetupManager.LoggingLevelDuration> stream()
-
-