public class RemoteCommands extends CommandRegistry
| Modifier and Type | Field and Description |
|---|---|
static RemoteCommands |
INSTANCE |
cmds, name, parent| Constructor and Description |
|---|
RemoteCommands() |
| Modifier and Type | Method and Description |
|---|---|
void |
autorun(Shell shell)
Override this to automatically run some commands at startup if needed.
|
String |
getDescription() |
String |
getPrompt(Shell shell)
Override this to provide a custom prompt for your command namespace
|
String |
getTitle() |
void |
onConnect() |
void |
onDisconnect() |
addAnnotatedCommand, addCommandType, clear, collectCommandTypesByNamespace, getCommandNames, getCommandNameSet, getCommandType, getCommandTypes, getCommandTypesByNamespace, getCommandTypeSet, getLocalCommandTypes, getName, getParentpublic static final RemoteCommands INSTANCE
public RemoteCommands()
public void onConnect()
public void onDisconnect()
public String getPrompt(Shell shell)
CommandRegistrygetPrompt in class CommandRegistrypublic String getTitle()
getTitle in class CommandRegistrypublic String getDescription()
getDescription in class CommandRegistrypublic void autorun(Shell shell)
CommandRegistryautorun in class CommandRegistryCopyright © 2018 Nuxeo. All rights reserved.