Interface CommandExecutor<SENDER>
- All Superinterfaces:
CommandNode<SENDER>,MetaHolder,Scopeable
- All Known Implementing Classes:
AbstractCommandExecutor
CommandExecutor is a node of the command tree.
Argument, ContextRequirement and BindRequirement are used to match the command.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <SENDER> CommandExecutorBuilder<SENDER> builder(CommandRoute<SENDER> parent) @Unmodifiable List<BindRequirement<?>> @Unmodifiable List<ContextRequirement<?>> match(RequirementsResult<SENDER> result) default @Unmodifiable Collection<String> names()Methods inherited from interface dev.rollczi.litecommands.command.CommandNode
getParentMethods inherited from interface dev.rollczi.litecommands.meta.MetaHolder
meta, metaCollector, parentMeta
-
Method Details
-
getArguments
-
getContextRequirements
@Unmodifiable List<ContextRequirement<?>> getContextRequirements() -
getBindRequirements
@Unmodifiable List<BindRequirement<?>> getBindRequirements() -
match
-
names
-
builder
-