public static enum CommandNaming.Strategy extends Enum<CommandNaming.Strategy>
| Enum Constant and Description |
|---|
DEFAULT
Not defined here which defaults to
SPLIT if nothing else found. |
DOT
Replace camel humps with spaces.
|
METHOD_NAME
Passthru the command as-is.
|
SPLIT
Replace camel humps with spaces and split the method name into multiple command segments.
|
| Modifier and Type | Method and Description |
|---|---|
static CommandNaming.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandNaming.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandNaming.Strategy SPLIT
clientSetname would issue a command CLIENT SETNAME.public static final CommandNaming.Strategy DOT
nrRun would issue a command named NR.RUN.public static final CommandNaming.Strategy METHOD_NAME
clientSetname would issue a command named CLIENTSETNAME.public static final CommandNaming.Strategy DEFAULT
SPLIT if nothing else found.public static CommandNaming.Strategy[] values()
for (CommandNaming.Strategy c : CommandNaming.Strategy.values()) System.out.println(c);
public static CommandNaming.Strategy 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 nullCopyright © 2021 lettuce.io. All rights reserved.