public enum ServerFeature extends Enum<ServerFeature>
Enum Constant and Description |
---|
ASYNC_CALL_ID_LIST
Listing async call IDs over the REST API.
|
ASYNC_CALL_SEQUENTIAL_ID_GENERATION
Generating sequential async call ID values.
|
RAWFILES_LIST
Listing of the raw files over the REST API.
|
RAWFILES_MODIFY
Modifying raw files over the REST API.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
getDetailedDescription()
Human readable detailed description of the represented toggle.
|
abstract String |
getShortDescription()
Short, human readable description of the feature toggle.
|
static ServerFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerFeature RAWFILES_LIST
public static final ServerFeature RAWFILES_MODIFY
public static final ServerFeature ASYNC_CALL_SEQUENTIAL_ID_GENERATION
public static final ServerFeature ASYNC_CALL_ID_LIST
public static ServerFeature[] values()
for (ServerFeature c : ServerFeature.values()) System.out.println(c);
public static ServerFeature 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 abstract String getDetailedDescription()
public abstract String getShortDescription()
.
) making it usable in message
composition (appending " is enabled."
or " is not enabled."
fragments).