public class LSCommandExecutorProvider extends Object
Modifier and Type | Method and Description |
---|---|
Optional<LSCommandExecutor> |
getCommandExecutor(String command)
Get the command executor registered for the given.
|
List<String> |
getCommandsList()
Get the list of commands available.
|
static LSCommandExecutorProvider |
getInstance() |
public static LSCommandExecutorProvider getInstance()
public Optional<LSCommandExecutor> getCommandExecutor(String command)
command
- Command nameOptional
Mapped command executorCopyright © 2019 WSO2. All rights reserved.