public static enum LoggerCommand.LoggerOptions extends Enum<LoggerCommand.LoggerOptions>
Enum Constant and Description |
---|
CREATE |
DELETE |
DETAILS |
HELP |
LAST_STATEMENTS |
LIST |
LIST_MEMORY_APPENDERS |
READ |
UPDATE |
UPDATE_ALL |
Modifier and Type | Method and Description |
---|---|
boolean |
equalsOptionName(String otherName) |
static LoggerCommand.LoggerOptions |
fromName(String name) |
String |
getOptionName() |
static List<String> |
toList() |
static LoggerCommand.LoggerOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoggerCommand.LoggerOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggerCommand.LoggerOptions HELP
public static final LoggerCommand.LoggerOptions DETAILS
public static final LoggerCommand.LoggerOptions LIST_MEMORY_APPENDERS
public static final LoggerCommand.LoggerOptions LAST_STATEMENTS
public static final LoggerCommand.LoggerOptions LIST
public static final LoggerCommand.LoggerOptions READ
public static final LoggerCommand.LoggerOptions UPDATE
public static final LoggerCommand.LoggerOptions UPDATE_ALL
public static final LoggerCommand.LoggerOptions CREATE
public static final LoggerCommand.LoggerOptions DELETE
public static LoggerCommand.LoggerOptions[] values()
for (LoggerCommand.LoggerOptions c : LoggerCommand.LoggerOptions.values()) System.out.println(c);
public static LoggerCommand.LoggerOptions valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getOptionName()
public boolean equalsOptionName(String otherName)
public static LoggerCommand.LoggerOptions fromName(String name)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.