public enum NoopCommandExecutor extends Enum<NoopCommandExecutor> implements CommandExecutor
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(BaseCommand command) |
static NoopCommandExecutor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NoopCommandExecutor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NoopCommandExecutor INSTANCE
public static NoopCommandExecutor[] values()
for (NoopCommandExecutor c : NoopCommandExecutor.values()) System.out.println(c);
public static NoopCommandExecutor 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 void execute(BaseCommand command) throws CommandExecutionException
execute in interface CommandExecutorcommand - the command that is to be executedCommandExecutionException - when the executor failed to execute the commandCopyright © 2019 The Apache Software Foundation. All rights reserved.