TaskDef
A task that can be run as a separate process.
| Methods |
| static void |
main(String... args)
Run the class.
|
| static void |
main(String... args)
Run the class. This method is called by the task framework, and should
not be called directly from the application.
Parameters:
args - the command line arguments
|
| String |
receive()
Receive a message from the process over the standard output.
|
| String |
receive()
Receive a message from the process over the standard output.
Returns:
the message
|
| void |
run(String... args)
Run the task.
|
| void |
run(String... args) throws Exception
Run the task.
Parameters:
args - the command line arguments
|
| void |
send(String message)
Send a message to the process over the standard input.
|
| void |
send(String message)
Send a message to the process over the standard input.
Parameters:
message - the message
|