Class AbstractRelationSelector.RelationDescriptor
java.lang.Object
dev.kitteh.factions.permissible.selector.AbstractSelector.BasicDescriptor
dev.kitteh.factions.permissible.selector.AbstractRelationSelector.RelationDescriptor
- All Implemented Interfaces:
PermSelector.Descriptor
- Enclosing class:
AbstractRelationSelector
public static class AbstractRelationSelector.RelationDescriptor
extends AbstractSelector.BasicDescriptor
-
Constructor Summary
ConstructorsConstructorDescriptionRelationDescriptor(String name, Supplier<String> displayName, Function<Relation, PermSelector> function) -
Method Summary
Methods inherited from class dev.kitteh.factions.permissible.selector.AbstractSelector.BasicDescriptor
acceptEmpty, acceptsEmpty, create, displayName, instructions, name, withInstructions
-
Constructor Details
-
RelationDescriptor
-
-
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
-