Package com.codingchili.core.context
Class LauncherCommandExecutor
java.lang.Object
com.codingchili.core.context.DefaultCommandExecutor
com.codingchili.core.context.LauncherCommandExecutor
- All Implemented Interfaces:
 CommandExecutor
Command executor that registers launch commands to a CommandExecutor.
- 
Field Summary
Fields inherited from class com.codingchili.core.context.DefaultCommandExecutor
commands, logger, settings - 
Constructor Summary
ConstructorsConstructorDescriptionconstructs an instance with the default loggerLauncherCommandExecutor(Logger logger) - 
Method Summary
Modifier and TypeMethodDescriptionGet the first command passed to the executor.Methods inherited from class com.codingchili.core.context.DefaultCommandExecutor
add, add, add, addProperty, clear, execute, execute, getAllProperties, getParser, getProperty, hasProperty, list 
- 
Constructor Details
- 
LauncherCommandExecutor
public LauncherCommandExecutor()constructs an instance with the default logger - 
LauncherCommandExecutor
- Parameters:
 logger- constructs an instance with specified logger
 
 - 
 - 
Method Details
- 
getCommand
Description copied from interface:CommandExecutorGet the first command passed to the executor.- Specified by:
 getCommandin interfaceCommandExecutor- Overrides:
 getCommandin classDefaultCommandExecutor- Returns:
 - the initial command as a string.
 
 
 -