Package net.storm.api.plugins.config
Class ConfigSectionDescriptor
java.lang.Object
net.storm.api.plugins.config.ConfigSectionDescriptor
- All Implemented Interfaces:
ConfigObject
Describes a configuration section defined in a
Config interface.
ConfigSectionDescriptor holds the metadata for a section including its
key and the ConfigSection annotation. Sections group related
configuration items in a collapsible UI element.
This class implements ConfigObject to participate in the configuration
object hierarchy alongside titles and items.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConfigSectionDescriptor
public ConfigSectionDescriptor()
-
-
Method Details
-
key
Gets the section key.- Specified by:
keyin interfaceConfigObject- Returns:
- the unique section identifier
-
name
Gets the display name.- Specified by:
namein interfaceConfigObject- Returns:
- the name from the ConfigSection annotation
-
position
public int position()Gets the display position.- Specified by:
positionin interfaceConfigObject- Returns:
- the position from the ConfigSection annotation
-