public class DistributedTestCLI
extends java.lang.Object
| Constructor and Description |
|---|
DistributedTestCLI(java.lang.String[] args)
Create and parse allowable options
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOptionValue(java.lang.String option)
Obtain the argument of the option provided by the user via the CLI
|
boolean |
hasOption(java.lang.String option)
Determine if an option was provided by the user via the CLI
|
boolean |
run(java.lang.String allowed)
Determine if the argument was provided, which determines if a test should or should not be run
|
boolean |
run(java.lang.String allowed,
java.lang.String option)
Determine if the argument was provided for the selected option, which determines if a test should or should not be run
|
public DistributedTestCLI(java.lang.String[] args)
args - - arguments fed into the main methodpublic boolean hasOption(java.lang.String option)
option - - the option of interestpublic java.lang.String getOptionValue(java.lang.String option)
option - - the option of interestpublic boolean run(java.lang.String allowed)
allowed - - argument string you are looking forpublic boolean run(java.lang.String allowed,
java.lang.String option)
allowed - - argument string you are looking foroption - - the option of interest