Package studio.mevera.imperat.command
Interface CommandExecution<S extends Source>
- Type Parameters:
S- the command sender valueType
- All Known Implementing Classes:
MethodCommandExecutor
This class represents the execution/action of this command that's triggered when
the sender asks for this command to be executed.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <S extends Source>
CommandExecution<S>empty()voidexecute(S source, ExecutionContext<S> context) Executes the command's actions
-
Method Details
-
empty
-
execute
Executes the command's actions- Parameters:
source- the source/sender of this commandcontext- the context of the command- Throws:
ImperatException
-