Class StructureArgument.StructureArgumentParser
java.lang.Object
nl.pim16aap2.animatedarchitecture.spigot.core.comands.StructureArgument.StructureArgumentParser
- All Implemented Interfaces:
cloud.commandframework.arguments.parser.ArgumentParser<ICommandSender, StructureRetriever>
- Enclosing class:
StructureArgument
public static final class StructureArgument.StructureArgumentParser
extends Object
implements cloud.commandframework.arguments.parser.ArgumentParser<ICommandSender, StructureRetriever>
-
Field Summary
Fields inherited from interface cloud.commandframework.arguments.parser.ArgumentParser
DEFAULT_ARGUMENT_COUNT -
Constructor Summary
ConstructorsConstructorDescriptionStructureArgumentParser(boolean asyncSuggestions, StructureRetrieverFactory structureRetrieverFactory, PermissionLevel maxPermission, IExecutor executor, Property<?>... properties) -
Method Summary
Modifier and TypeMethodDescriptioncloud.commandframework.arguments.parser.ArgumentParseResult<StructureRetriever> parse(cloud.commandframework.context.CommandContext<ICommandSender> commandContext, Queue<String> inputQueue) suggestions(cloud.commandframework.context.CommandContext<ICommandSender> commandContext, String input) Methods inherited from class 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
-
StructureArgumentParser
public StructureArgumentParser(boolean asyncSuggestions, StructureRetrieverFactory structureRetrieverFactory, PermissionLevel maxPermission, IExecutor executor, Property<?>... properties)
-
-
Method Details
-
parse
public cloud.commandframework.arguments.parser.ArgumentParseResult<StructureRetriever> parse(cloud.commandframework.context.CommandContext<ICommandSender> commandContext, Queue<String> inputQueue) - Specified by:
parsein interfacecloud.commandframework.arguments.parser.ArgumentParser<ICommandSender, StructureRetriever>
-
suggestions
public List<String> suggestions(cloud.commandframework.context.CommandContext<ICommandSender> commandContext, String input) - Specified by:
suggestionsin interfacecloud.commandframework.arguments.parser.ArgumentParser<ICommandSender, StructureRetriever>
-