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, getParent
public static final RemoteCommands INSTANCE
public RemoteCommands()
public void onConnect()
public void onDisconnect()
public String getPrompt(Shell shell)
CommandRegistry
getPrompt
in class CommandRegistry
public String getTitle()
getTitle
in class CommandRegistry
public String getDescription()
getDescription
in class CommandRegistry
public void autorun(Shell shell)
CommandRegistry
autorun
in class CommandRegistry
Copyright © 2018 Nuxeo. All rights reserved.