DynamicTask
public class GenericPlot2Task extends AbstractPlot2Task
DOC_ZONE_SUFFIX, EXAMPLE_LAYER_SUFFIX, EXAMPLE_ZONE_SUFFIX, LAYER_PREFIX, ZONE_PREFIX
Constructor | Description |
---|---|
GenericPlot2Task() |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected <T> java.lang.String |
getConfigParamDefault(uk.ac.starlink.task.Environment env,
ConfigKey<T> key,
java.lang.String[] suffixes) |
May provide a default value for a given config parameter that is
sensitive to the content of the execution environment.
|
uk.ac.starlink.task.Parameter[] |
getParameters() |
|
PlotContext |
getPlotContext(uk.ac.starlink.task.Environment env) |
Concrete subclasses must implement this method to provide
the PlotType and other information from the environment
that may not be available at construction time.
|
java.lang.String |
getPurpose() |
createAuxCrowdParameter, createAuxLabelParameter, createAuxVisibleParameter, createAuxWidthParameter, createDataParameter, createExecutable, createFilterParameter, createLabelParameter, createLayerTypeParameter, createLegendPositionParameter, createPaintModeParameter, createPlotComponent, createPlotIcon, createPlotIcon, createTableParameter, createTitleParameter, createZoneParameter, getBasicParameters, getContextParameters, getLegendBorderParameter, getLegendOpaqueParameter, getLegendParameter, getLegendSequenceParameter, getPaddingParameter, getParameterByName, getSequenceParameter, getXpixParameter, getYpixParameter, getZoneKeyParams, testEnv
public java.lang.String getPurpose()
public uk.ac.starlink.task.Parameter[] getParameters()
public PlotContext getPlotContext(uk.ac.starlink.task.Environment env) throws uk.ac.starlink.task.TaskException
AbstractPlot2Task
getPlotContext
in class AbstractPlot2Task
env
- execution environmentuk.ac.starlink.task.TaskException
protected <T> java.lang.String getConfigParamDefault(uk.ac.starlink.task.Environment env, ConfigKey<T> key, java.lang.String[] suffixes)
AbstractPlot2Task
getConfigParamDefault
in class AbstractPlot2Task
env
- execution environmentkey
- config key for which a parameter is requiredsuffixes
- ordered list of the plot layer suffixes
in use for the plot being performedkey
,
or null if none is obviousCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.