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()
TaskgetPurpose in interface Taskpublic Parameter<?>[] getParameters()
TaskgetParameters in interface Taskpublic Parameter<Integer> getXpixParameter()
public Parameter<Integer> getYpixParameter()
public Executable createExecutable(Environment env) throws TaskException
Taskenv, though this is not
absolutely prohibited.createExecutable in interface Taskenv - the environment in which the task will operateTaskException - if no executable can be created;
this should usually be a UsageException or
some subclassCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.