public enum MasterProcessCommand extends Enum<MasterProcessCommand>
| Enum Constant and Description | 
|---|
BYE_ACK  | 
NOOP
To tell a forked process that the master process is still alive. 
 | 
RUN_CLASS  | 
SHUTDOWN  | 
SKIP_SINCE_NEXT_TEST  | 
TEST_SET_FINISHED  | 
| Modifier and Type | Method and Description | 
|---|---|
static Command | 
decode(DataInputStream is)  | 
byte[] | 
encode()  | 
byte[] | 
encode(String data)  | 
Class<?> | 
getDataType()  | 
int | 
getId()  | 
boolean | 
hasDataType()  | 
static MasterProcessCommand | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static MasterProcessCommand[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final MasterProcessCommand RUN_CLASS
public static final MasterProcessCommand TEST_SET_FINISHED
public static final MasterProcessCommand SKIP_SINCE_NEXT_TEST
public static final MasterProcessCommand SHUTDOWN
public static final MasterProcessCommand NOOP
public static final MasterProcessCommand BYE_ACK
public static MasterProcessCommand[] values()
for (MasterProcessCommand c : MasterProcessCommand.values()) System.out.println(c);
public static MasterProcessCommand 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 int getId()
public Class<?> getDataType()
public boolean hasDataType()
public byte[] encode(String data)
public byte[] encode()
public static Command decode(DataInputStream is) throws IOException
IOExceptionCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.