public interface OptionSubjectData extends SubjectData
GLOBAL_CONTEXT
Modifier and Type | Method and Description |
---|---|
boolean |
clearOptions()
Clear all options.
|
boolean |
clearOptions(Set<Context> contexts)
Clear all options in the given context combination.
|
Map<Set<Context>,Map<String,String>> |
getAllOptions()
Return all options for all context combinations currently registered.
|
Map<String,String> |
getOptions(Set<Context> contexts)
Get options for a specific context combination.
|
boolean |
setOption(Set<Context> contexts,
String key,
String value)
Set a specific option to a value.
|
addParent, clearParents, clearParents, clearPermissions, clearPermissions, getAllParents, getAllPermissions, getParents, getPermissions, removeParent, setPermission
Map<Set<Context>,Map<String,String>> getAllOptions()
Map<String,String> getOptions(Set<Context> contexts)
contexts
- The context combination to get options forboolean setOption(Set<Context> contexts, String key, String value)
contexts
- The context combination to set the given option inkey
- The key to set. Case-insensitive.value
- The value to set.boolean clearOptions(Set<Context> contexts)
contexts
- The context combinationboolean clearOptions()