public class EquinoxFeature extends CommandRegistry implements ShellFeature
Modifier and Type | Field and Description |
---|---|
protected Connector |
connector |
cmds, name, parent
Constructor and Description |
---|
EquinoxFeature() |
Modifier and Type | Method and Description |
---|---|
void |
autorun(Shell shell)
Override this to automatically run some commands at startup if needed.
|
void |
connect(String url,
String username,
String password) |
void |
disconnect() |
String |
getDescription() |
String |
getPrompt(Shell shell)
Override this to provide a custom prompt for your command namespace
|
String |
getTitle() |
void |
install(Shell shell)
Install the feature in the given shell instance.
|
void |
loadCommands() |
addAnnotatedCommand, addCommandType, clear, collectCommandTypesByNamespace, getCommandNames, getCommandNameSet, getCommandType, getCommandTypes, getCommandTypesByNamespace, getCommandTypeSet, getLocalCommandTypes, getName, getParent
public EquinoxFeature()
public void install(Shell shell)
ShellFeature
install
in interface ShellFeature
public void loadCommands()
public String getTitle()
getTitle
in class CommandRegistry
public String getDescription()
getDescription
in class CommandRegistry
public String getPrompt(Shell shell)
CommandRegistry
getPrompt
in class CommandRegistry
public void disconnect()
public void autorun(Shell shell)
CommandRegistry
autorun
in class CommandRegistry
Copyright © 2017 Nuxeo. All rights reserved.