Package uk.ac.starlink.ttools.task
Class SettingGroup
java.lang.Object
uk.ac.starlink.ttools.task.SettingGroup
Represents a set of parameter-value pairs to be grouped together
for display purposes. This aggregates a list of setting objects
and a 'grouping level'. The level corresponds roughly to the
amount of indentation to be used when exported to text.
The level starts at 1 for task-level parameter settings
and should generally be incremented in 1s.
- Since:
- 26 Sep 2017
- Author:
- Mark Taylor
-
Constructor Details
-
SettingGroup
Constructor.- Parameters:
level
- grouping levelsettings
- settings in the group
-
-
Method Details
-
getLevel
public int getLevel()Returns the grouping level.- Returns:
- level
-
getSettings
Returns the grouped settings.- Returns:
- settings
-