Package net.storm.api.plugins.config
Class ConfigTitleDescriptor
java.lang.Object
net.storm.api.plugins.config.ConfigTitleDescriptor
- All Implemented Interfaces:
ConfigObject
Describes a configuration title defined in a
Config interface.
ConfigTitleDescriptor holds the metadata for a title including its
key and the ConfigTitle annotation. Titles provide headings
within sections to organize configuration items.
This class implements ConfigObject to participate in the configuration
object hierarchy alongside sections and items.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConfigTitleDescriptor
public ConfigTitleDescriptor()
-
-
Method Details
-
key
Gets the title key.- Specified by:
keyin interfaceConfigObject- Returns:
- the unique title identifier
-
name
Gets the display name.- Specified by:
namein interfaceConfigObject- Returns:
- the name from the ConfigTitle annotation
-
position
public int position()Gets the display position.- Specified by:
positionin interfaceConfigObject- Returns:
- the position from the ConfigTitle annotation
-