|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Task
Defines a user-level task. Each task has a list of parameters, and an invoke method.
Method Summary | |
---|---|
Executable |
createExecutable(Environment env)
Creates an executable object which will do the work of this task in the given Environment. |
Parameter[] |
getParameters()
Returns the list of parameters which may be used by this task. |
String |
getPurpose()
Returns a short (one-line) description of the purpose of this task. |
Method Detail |
---|
Parameter[] getParameters()
Executable createExecutable(Environment env) throws TaskException
env
, though this is not
absolutely prohibited.
env
- the environment in which the task will operate
TaskException
- if no executable can be created;
this should usually be a UsageException
or
some subclassString getPurpose()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |