Package net.storm.api.plugins.config
Class ConfigItemDescriptor
java.lang.Object
net.storm.api.plugins.config.ConfigItemDescriptor
- All Implemented Interfaces:
ConfigObject
Describes a single configuration item within a
Config interface.
ConfigItemDescriptor holds the metadata for a configuration item including
its ConfigItem annotation, return type, and any additional annotations
like Range, Alpha, or Units.
This class implements ConfigObject to participate in the configuration
object hierarchy alongside sections and titles.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConfigItemDescriptor
public ConfigItemDescriptor()
-
-
Method Details
-
key
Gets the configuration key name.- Specified by:
keyin interfaceConfigObject- Returns:
- the key name from the ConfigItem annotation
-
name
Gets the display name.- Specified by:
namein interfaceConfigObject- Returns:
- the name from the ConfigItem annotation
-
position
public int position()Gets the display position.- Specified by:
positionin interfaceConfigObject- Returns:
- the position from the ConfigItem annotation
-