public abstract class PlotTask extends Object implements Task
Constructor and Description |
---|
PlotTask(String purpose,
PlotStateFactory stateFactory,
TablePlot plot)
Constructor.
|
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.
|
protected List<Parameter<?>> |
getParameterList() |
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<Integer> |
getXpixParameter()
Returns the parameter used for setting plot output X dimension.
|
Parameter<Integer> |
getYpixParameter()
Returns the parameter used for setting plot output Y dimension.
|
public PlotTask(String purpose, PlotStateFactory stateFactory, TablePlot plot)
purpose
- short (one-line) task purposestateFactory
- PlotStateFactory for use with this plotplot
- plot component for use with this plotpublic String getPurpose()
Task
getPurpose
in interface Task
public Parameter<?>[] getParameters()
Task
getParameters
in interface Task
public Parameter<Integer> getXpixParameter()
public Parameter<Integer> getYpixParameter()
public Executable createExecutable(Environment env) throws TaskException
Task
env
, though this is not
absolutely prohibited.createExecutable
in interface Task
env
- the environment in which the task will operateTaskException
- if no executable can be created;
this should usually be a UsageException
or
some subclassCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.