Package dev.kitteh.factions
Interface Faction.Permissions.SelectorPerms
- All Known Implementing Classes:
MemoryFaction.Permissions.SelectorPerms
- Enclosing interface:
Faction.Permissions
public static interface Faction.Permissions.SelectorPerms
-
Method Summary
Modifier and TypeMethodDescriptionactions()Gets all action names with set permission states.default PermStateget(PermissibleAction action) Gets this selector's permission state for the given action.Gets this selector's permission state for the given action name.default voidset(PermissibleAction action, PermState state) Sets this selector's permission state for the given action.voidSets this selector's permission state for the given action name.
-
Method Details
-
get
Gets this selector's permission state for the given action.- Parameters:
action- action- Returns:
- perm state
-
get
Gets this selector's permission state for the given action name.- Parameters:
action- action name, case-insensitive- Returns:
- perm state
-
set
Sets this selector's permission state for the given action.- Parameters:
action- actionstate- perm state
-
set
Sets this selector's permission state for the given action name.- Parameters:
action- action, case-insensitivestate- perm state
-
actions
Collection<String> actions()Gets all action names with set permission states. May include names not presently registered with the plugin.- Returns:
- actions
-