Class SingleConfigKey
java.lang.Object
tech.guilhermekaua.spigotboot.config.reference.key.ReferenceKey
tech.guilhermekaua.spigotboot.config.reference.key.SingleConfigKey
Key for a single
Config configuration.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class tech.guilhermekaua.spigotboot.config.reference.key.ReferenceKey
folderConfigItem, fromReference, singleConfig
-
Constructor Details
-
SingleConfigKey
-
-
Method Details
-
getConfigName
Gets the config name.- Returns:
- the config name
-
isSingleConfig
public boolean isSingleConfig()Description copied from class:ReferenceKeyChecks if this key represents a single config.- Specified by:
isSingleConfigin classReferenceKey- Returns:
- true if single config key
-
isFolderConfigItem
public boolean isFolderConfigItem()Description copied from class:ReferenceKeyChecks if this key represents a folder config item.- Specified by:
isFolderConfigItemin classReferenceKey- Returns:
- true if folder config item key
-
getDisplayName
Description copied from class:ReferenceKeyGets a human-readable display name for this key.- Specified by:
getDisplayNamein classReferenceKey- Returns:
- the display name
-