Enum UserDataHelper.Mode
- All Implemented Interfaces:
Serializable, Comparable<UserDataHelper.Mode>, java.lang.constant.Constable
- Enclosing class:
UserDataHelper
Log mode for the next log message.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLog at DEBUG level.Log at INFO level.Log at INFO level for the first message, then DEBUG for subsequent messages. -
Method Summary
Modifier and TypeMethodDescriptionstatic UserDataHelper.ModeReturns the enum constant of this type with the specified name.static UserDataHelper.Mode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEBUG
Log at DEBUG level. -
INFO_THEN_DEBUG
Log at INFO level for the first message, then DEBUG for subsequent messages. -
INFO
Log at INFO level.
-
-
Method Details
-
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
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-