public final class Command extends Object
| Modifier and Type | Field and Description |
|---|---|
static Command |
BYE_ACK |
static Command |
NOOP |
static Command |
SKIP_SINCE_NEXT_TEST |
static Command |
TEST_SET_FINISHED |
| Constructor and Description |
|---|
Command(MasterProcessCommand command) |
Command(MasterProcessCommand command,
String data) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
MasterProcessCommand |
getCommandType() |
String |
getData() |
int |
hashCode() |
static Command |
toRunClass(String runClass) |
static Command |
toShutdown(Shutdown shutdownType) |
Shutdown |
toShutdownData() |
public static final Command TEST_SET_FINISHED
public static final Command SKIP_SINCE_NEXT_TEST
public static final Command NOOP
public static final Command BYE_ACK
public Command(MasterProcessCommand command, String data)
public Command(MasterProcessCommand command)
public MasterProcessCommand getCommandType()
public String getData()
public Shutdown toShutdownData()
Shutdown or Shutdown.DEFAULT if getData() is null or blank stringIllegalArgumentException - if string data getData() is not applicable to enum ShutdownCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.