public static enum ConnectorCommand.ConnectorOptions extends Enum<ConnectorCommand.ConnectorOptions>
Enum Constant and Description |
---|
DELETE |
DETAILS |
HELP |
LIST |
LIST_BUNDLES |
LIST_CONFIGURATION |
READ |
READ_BY_RESOURCE |
Modifier and Type | Method and Description |
---|---|
boolean |
equalsOptionName(String otherName) |
static ConnectorCommand.ConnectorOptions |
fromName(String name) |
String |
getOptionName() |
static List<String> |
toList() |
static ConnectorCommand.ConnectorOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectorCommand.ConnectorOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectorCommand.ConnectorOptions HELP
public static final ConnectorCommand.ConnectorOptions LIST
public static final ConnectorCommand.ConnectorOptions DETAILS
public static final ConnectorCommand.ConnectorOptions LIST_BUNDLES
public static final ConnectorCommand.ConnectorOptions LIST_CONFIGURATION
public static final ConnectorCommand.ConnectorOptions READ
public static final ConnectorCommand.ConnectorOptions READ_BY_RESOURCE
public static final ConnectorCommand.ConnectorOptions DELETE
public static ConnectorCommand.ConnectorOptions[] values()
for (ConnectorCommand.ConnectorOptions c : ConnectorCommand.ConnectorOptions.values()) System.out.println(c);
public static ConnectorCommand.ConnectorOptions 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 ConnectorCommand.ConnectorOptions fromName(String name)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.