Class PermissionLevelArgument.PermissionLevelArgumentParser
java.lang.Object
nl.pim16aap2.animatedarchitecture.spigot.core.comands.PermissionLevelArgument.PermissionLevelArgumentParser
- All Implemented Interfaces:
cloud.commandframework.arguments.parser.ArgumentParser<ICommandSender,PermissionLevel>
- Enclosing class:
PermissionLevelArgument
public static final class PermissionLevelArgument.PermissionLevelArgumentParser
extends Object
implements cloud.commandframework.arguments.parser.ArgumentParser<ICommandSender,PermissionLevel>
-
Field Summary
Fields inherited from interface cloud.commandframework.arguments.parser.ArgumentParser
DEFAULT_ARGUMENT_COUNT -
Constructor Summary
ConstructorsConstructorDescriptionPermissionLevelArgumentParser(ILocalizer localizer, @Nullable PermissionLevel minimumLevel, @Nullable PermissionLevel maximumLevel) -
Method Summary
Modifier and TypeMethodDescriptioncloud.commandframework.arguments.parser.ArgumentParseResult<PermissionLevel> parse(cloud.commandframework.context.CommandContext<ICommandSender> commandContext, Queue<String> inputQueue) suggestions(cloud.commandframework.context.CommandContext<ICommandSender> commandContext, String input) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cloud.commandframework.arguments.parser.ArgumentParser
getRequestedArgumentCount, isContextFree, map
-
Constructor Details
-
PermissionLevelArgumentParser
public PermissionLevelArgumentParser(ILocalizer localizer, @Nullable @Nullable PermissionLevel minimumLevel, @Nullable @Nullable PermissionLevel maximumLevel)
-
-
Method Details
-
parse
public cloud.commandframework.arguments.parser.ArgumentParseResult<PermissionLevel> parse(cloud.commandframework.context.CommandContext<ICommandSender> commandContext, Queue<String> inputQueue) - Specified by:
parsein interfacecloud.commandframework.arguments.parser.ArgumentParser<ICommandSender,PermissionLevel>
-
suggestions
public List<String> suggestions(cloud.commandframework.context.CommandContext<ICommandSender> commandContext, String input) - Specified by:
suggestionsin interfacecloud.commandframework.arguments.parser.ArgumentParser<ICommandSender,PermissionLevel>
-