public class PlotStiltsCommand extends StiltsCommand
| Constructor and Description | 
|---|
| PlotStiltsCommand(AbstractPlot2Task task,
                 String taskName,
                 SettingGroup[] groups)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <P,A> PlotStiltsCommand | createPlotCommand(PlotSpec<P,A> plotSpec,
                 TableNamer tableNamer,
                 Suffixer layerSuffixer,
                 Suffixer zoneSuffixer)Turns a PlotSpec into an abstract model of a STILTS command line
 to regenerate the same plot. | 
| AbstractPlot2Task | getTask()Returns the plot task corresponding to this object. | 
createCommand, createDefaultParamSetting, createInputTableSettings, createParamSetting, createProgressSetting, getGroups, getParameterByType, getTaskName, toGroups, toStringpublic PlotStiltsCommand(AbstractPlot2Task task, String taskName, SettingGroup[] groups)
task - plot tasktaskName - name of the plot task as used by stilts command linegroups - all name-value pairs specifying the configuration
                  of the task, grouped for cosmetic purposespublic AbstractPlot2Task getTask()
getTask in class StiltsCommandpublic static <P,A> PlotStiltsCommand createPlotCommand(PlotSpec<P,A> plotSpec, TableNamer tableNamer, Suffixer layerSuffixer, Suffixer zoneSuffixer) throws LoadException
This is the method that does the work of mapping the internal plot representation to a STILTS command line. It has to understand how the AbstractPlot2Task parameters are specified, which is a complicated job. So (1) the output is not bulletproof, and may get broken by implementation or interface changes elsewhere in the code base, and therefore (2) lots of tests are a good idea. It works on a best efforts basis.
plotSpec - programmatic representation of a plottableNamer - controls table naminglayerSuffixer - controls suffixes for layerszoneSuffixer - cotrols suffixes for zonesLoadExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.