Module org.glassfish.main.jul
Package org.glassfish.main.jul.formatter
Enum Class OneLineFormatter.OneLineFormatterProperty
java.lang.Object
java.lang.Enum<OneLineFormatter.OneLineFormatterProperty>
org.glassfish.main.jul.formatter.OneLineFormatter.OneLineFormatterProperty
- All Implemented Interfaces:
Serializable,Comparable<OneLineFormatter.OneLineFormatterProperty>,Constable,LogProperty
- Enclosing class:
OneLineFormatter
public static enum OneLineFormatter.OneLineFormatterProperty
extends Enum<OneLineFormatter.OneLineFormatterProperty>
implements LogProperty
Configuration property set of this formatter
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCount of characters for the log record's source classCount of characters for the log record's levelCount of characters for the log record's thread name -
Method Summary
Modifier and TypeMethodDescriptionReturns 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
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.glassfish.main.jul.cfg.LogProperty
getPropertyFullName, getPropertyFullName
-
Enum Constant Details
-
SIZE_LEVEL
Count of characters for the log record's level -
SIZE_THREAD
Count of characters for the log record's thread name -
SIZE_CLASS
Count of characters for the log record's source class
-
-
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
-
getPropertyName
- Specified by:
getPropertyNamein interfaceLogProperty- Returns:
- a name of the property, used as a last part of property name in logging.properties
-