Class AbstractRoleSelector.RoleDescriptor
java.lang.Object
dev.kitteh.factions.permissible.selector.AbstractSelector.BasicDescriptor
dev.kitteh.factions.permissible.selector.AbstractRoleSelector.RoleDescriptor
- All Implemented Interfaces:
PermSelector.Descriptor
- Enclosing class:
AbstractRoleSelector
-
Constructor Summary
ConstructorsConstructorDescriptionRoleDescriptor(String name, Supplier<String> displayName, Function<Role, PermSelector> function) -
Method Summary
Methods inherited from class dev.kitteh.factions.permissible.selector.AbstractSelector.BasicDescriptor
acceptEmpty, acceptsEmpty, create, displayName, instructions, name, withInstructions
-
Constructor Details
-
RoleDescriptor
-
-
Method Details
-
options
Description copied from interface:PermSelector.DescriptorGets the options, if there's a reasonable number of choices that can be generated in advance. Key is a full, valid PermSelector string, value is what should be displayed in chat.- Parameters:
faction- faction for context- Returns:
- map as described
-