public interface Task
invoke
method.Modifier and Type | Method and Description |
---|---|
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.
|
Parameter<?>[] getParameters()
Executable createExecutable(Environment env) throws TaskException
env
, though this is not
absolutely prohibited.env
- the environment in which the task will operateTaskException
- if no executable can be created;
this should usually be a UsageException
or
some subclassString getPurpose()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.