Interface OptionDefinition
- All Superinterfaces:
CatalogType,PermissionDefinition
Represents an option definition that can hold a single
Option with contexts.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic OptionDefinition.Builderbuilder()Gets a new claim builder instance forOptionDefinition.Builder.Gets the default value.Gets theOptionDataassociated with this definition.Methods inherited from interface com.griefdefender.api.CatalogType
getId, getNameMethods inherited from interface com.griefdefender.api.permission.PermissionDefinition
getContexts, getDescription, getFriendlyDescription, getGroupDescription, getGroupName, getIcon, getPresetName, getSubject, hasOwnerMode, isAdmin, isEnabled, setIcon, setIsEnabled
-
Method Details
-
getDefaultValue
String getDefaultValue()Gets the default value.- Returns:
- The default value
-
getOptionData
OptionData getOptionData()Gets theOptionDataassociated with this definition.- Returns:
- The option data
-
builder
Gets a new claim builder instance forOptionDefinition.Builder.- Returns:
- A new claim builder instance
-