Enum Class RainbowGumSystemLoggerFinder.InitOption
java.lang.Object
java.lang.Enum<RainbowGumSystemLoggerFinder.InitOption>
io.jstach.rainbowgum.systemlogger.RainbowGumSystemLoggerFinder.InitOption
- All Implemented Interfaces:
Serializable
,Comparable<RainbowGumSystemLoggerFinder.InitOption>
,Constable
- Enclosing class:
RainbowGumSystemLoggerFinder
public static enum RainbowGumSystemLoggerFinder.InitOption
extends Enum<RainbowGumSystemLoggerFinder.InitOption>
Values (case is ignored) for "logging.systemlogger.initialize".
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription(default) Will check if there are implementations ofRainbowGumServiceProvider.RainbowGumEagerLoad
and if there are not will load rainbow gum.Will not initialize rainbow gum.Will reuse an existing rainbow gum or fail.Will initialize rainbow gum. -
Method Summary
Modifier and TypeMethodDescriptionParses an init option from a property value.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
FALSE
Will not initialize rainbow gum. -
TRUE
Will initialize rainbow gum. -
CHECK
(default) Will check if there are implementations ofRainbowGumServiceProvider.RainbowGumEagerLoad
and if there are not will load rainbow gum. -
REUSE
Will reuse an existing rainbow gum or fail.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
parse
Parses an init option from a property value.- Parameters:
input
- from properties.- Returns:
- init option.
-