Package org.hl7.fhir.utilities.logging
Enum ManagedLogging.LoggingPolicy
- java.lang.Object
-
- java.lang.Enum<ManagedLogging.LoggingPolicy>
-
- org.hl7.fhir.utilities.logging.ManagedLogging.LoggingPolicy
-
- All Implemented Interfaces:
Serializable,Comparable<ManagedLogging.LoggingPolicy>
- Enclosing class:
- ManagedLogging
public static enum ManagedLogging.LoggingPolicy extends Enum<ManagedLogging.LoggingPolicy>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ManagedLogging.LoggingPolicyvalueOf(String name)Returns the enum constant of this type with the specified name.static ManagedLogging.LoggingPolicy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONSOLE
public static final ManagedLogging.LoggingPolicy CONSOLE
-
IGNORED
public static final ManagedLogging.LoggingPolicy IGNORED
-
SLF4J
public static final ManagedLogging.LoggingPolicy SLF4J
-
CUSTOM
public static final ManagedLogging.LoggingPolicy CUSTOM
-
-
Method Detail
-
values
public static ManagedLogging.LoggingPolicy[] 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 (ManagedLogging.LoggingPolicy c : ManagedLogging.LoggingPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ManagedLogging.LoggingPolicy valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-