Interface OptionData
public interface OptionData
Represents option permission data stored in a
OptionDefinition.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic OptionData.Builderbuilder()Gets a new claim builder instance forOptionData.Builder.Gets theContext's associated with this data.Option<?> Gets theOptionassociated with this data.booleandefault booleanmatches(OptionData data) Checks ifOptionDatamatches this data.
-
Method Details
-
getOption
Option<?> getOption()Gets theOptionassociated with this data.- Returns:
- The option
-
getContexts
Gets theContext's associated with this data.- Returns:
- The contexts
-
matches
Checks ifOptionDatamatches this data.- Parameters:
data- The option data to check- Returns:
- Whether this data matches
-
matches
- Parameters:
option- The option to checkcontexts- The contexts to check- Returns:
- Whether this data matches
-
builder
Gets a new claim builder instance forOptionData.Builder.- Returns:
- A new claim builder instance
-