Class Command
java.lang.Object
org.apache.maven.surefire.api.booter.Command
Encapsulates data and command sent from master to forked process.
- Since:
 - 2.19
 - Author:
 - Tibor Digana (tibor17)
 
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionCommand(MasterProcessCommand command) Command(MasterProcessCommand command, String data)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleangetData()inthashCode()static CommandtoRunClass(String runClass) static CommandtoShutdown(Shutdown shutdownType)  
- 
Field Details
- 
TEST_SET_FINISHED
 - 
SKIP_SINCE_NEXT_TEST
 - 
NOOP
 - 
BYE_ACK
 
 - 
 - 
Constructor Details
- 
Command
 - 
Command
 
 - 
 - 
Method Details
- 
toShutdown
 - 
toRunClass
 - 
getCommandType
 - 
getData
 - 
toShutdownData
- Returns:
 ShutdownorShutdown.DEFAULTifgetData()is null or blank string- Throws:
 IllegalArgumentException- if string datagetData()is not applicable to enumShutdown
 - 
equals
 - 
hashCode
public int hashCode() 
 -