Class CommandExecutor
java.lang.Object
dev.sympho.modular_commands.execute.CommandExecutor
- Direct Known Subclasses:
BaseCommandExecutor
Executor that receives events and invokes triggered commands as appropriate.
- Since:
- 1.0
- Version:
- 1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
logger
protected final org.slf4j.Logger loggerThe logger.
-
-
Constructor Details
-
CommandExecutor
protected CommandExecutor()Creates a new instance.
-
-
Method Details
-
buildPipeline
Constructs the processing pipeline that processes command events.- Returns:
- The constructed pipeline.
-
start
public boolean start()Start receiving events and executing commands.- Returns:
trueif the call started the executor,falseif it was already started.
-
stop
public boolean stop()Stops receiving events and executing commands.- Returns:
trueif the call stopped the executor,falseif it was already stopped.
-