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 | Field and Description |
---|---|
static Map<AbstractStreamDecoder.Segment,MasterProcessCommand> |
COMMAND_TYPES |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getDataType() |
byte[] |
getOpcodeBinary() |
int |
getOpcodeLength() |
boolean |
hasDataType() |
String |
toString() |
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 final Map<AbstractStreamDecoder.Segment,MasterProcessCommand> COMMAND_TYPES
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 byte[] getOpcodeBinary()
public int getOpcodeLength()
public Class<?> getDataType()
public boolean hasDataType()
public String toString()
toString
in class Enum<MasterProcessCommand>
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.