Class AbstractCommandExecutor<SENDER>
java.lang.Object
dev.rollczi.litecommands.command.executor.AbstractCommandExecutor<SENDER>
- All Implemented Interfaces:
CommandNode<SENDER>,CommandExecutor<SENDER>,MetaHolder,Prioritized,Scopeable,Comparable<Prioritized>
public abstract class AbstractCommandExecutor<SENDER>
extends Object
implements CommandExecutor<SENDER>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<BindRequirement<?>> protected final List<ContextRequirement<?>> protected final Metaprotected final CommandRoute<SENDER> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractCommandExecutor(CommandRoute<SENDER> parent, Collection<Argument<?>> arguments, Collection<ContextRequirement<?>> contextRequirements, Collection<BindRequirement<?>> bindRequirements) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.rollczi.litecommands.command.executor.CommandExecutor
match, namesMethods inherited from interface dev.rollczi.litecommands.meta.MetaHolder
metaCollectorMethods inherited from interface dev.rollczi.litecommands.priority.Prioritized
compareTo, isHigherThan, isLowerThan
-
Field Details
-
parent
-
arguments
-
contextRequirements
-
bindRequirements
-
meta
-
-
Constructor Details
-
AbstractCommandExecutor
protected AbstractCommandExecutor(CommandRoute<SENDER> parent, Collection<Argument<?>> arguments, Collection<ContextRequirement<?>> contextRequirements, Collection<BindRequirement<?>> bindRequirements)
-
-
Method Details
-
meta
- Specified by:
metain interfaceMetaHolder
-
parentMeta
- Specified by:
parentMetain interfaceCommandNode<SENDER>- Specified by:
parentMetain interfaceMetaHolder
-
getParent
- Specified by:
getParentin interfaceCommandNode<SENDER>
-
getArguments
- Specified by:
getArgumentsin interfaceCommandExecutor<SENDER>
-
getContextRequirements
- Specified by:
getContextRequirementsin interfaceCommandExecutor<SENDER>
-
getBindRequirements
- Specified by:
getBindRequirementsin interfaceCommandExecutor<SENDER>
-
getPriority
- Specified by:
getPriorityin interfacePrioritized
-