public class CliFrontend extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JOBMANAGER_ADDRESS_FILE |
| Constructor and Description |
|---|
CliFrontend()
Initializes the class
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
cancel(String[] args)
Executes the cancel action.
|
protected int |
executeProgram(PackagedProgram program,
Client client,
int parallelism) |
protected String |
getConfigurationDirectory() |
protected int |
info(String[] args)
Executes the info action.
|
protected int |
list(String[] args)
Executes the list action.
|
static void |
main(String[] args)
Submits the job based on the arguments
|
int |
parseParameters(String[] args)
Parses the command line arguments and starts the requested action.
|
protected int |
run(String[] args)
Executions the run action.
|
public static final String JOBMANAGER_ADDRESS_FILE
protected int run(String[] args)
args - Command line arguments for the run action.protected int executeProgram(PackagedProgram program, Client client, int parallelism)
protected int info(String[] args)
args - Command line arguments for the info action.protected int list(String[] args)
args - Command line arguments for the list action.protected int cancel(String[] args)
args - Command line arguments for the cancel action.protected String getConfigurationDirectory()
public int parseParameters(String[] args)
args - command line arguments of the client.public static void main(String[] args) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseExceptionCopyright © 2013–2014. All rights reserved.