public static enum LoggingEventWriter.TimeStampType extends java.lang.Enum<LoggingEventWriter.TimeStampType>
Enum Constant and Description |
---|
BOTH |
ONLY_MILLIS |
ONLY_TIMESTAMP |
Modifier and Type | Method and Description |
---|---|
static LoggingEventWriter.TimeStampType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoggingEventWriter.TimeStampType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggingEventWriter.TimeStampType ONLY_TIMESTAMP
public static final LoggingEventWriter.TimeStampType ONLY_MILLIS
public static final LoggingEventWriter.TimeStampType BOTH
public static LoggingEventWriter.TimeStampType[] values()
for (LoggingEventWriter.TimeStampType c : LoggingEventWriter.TimeStampType.values()) System.out.println(c);
public static LoggingEventWriter.TimeStampType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null