|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteCommandShell
This interface represents a handle to a remote command, which is either a transient command or a command shell.
Method Summary | |
---|---|
void |
addOutput(Object output)
Add an output object to the list of output for this command |
void |
associateProject(IProject project)
|
IProject |
getAssociatedProject()
|
ICandidateCommand[] |
getCandidateCommands()
Return the list of possible commands for this command shell |
IRemoteCmdSubSystem |
getCommandSubSystem()
Return the command subsystem associated with this command |
Object |
getContext()
Get the current context for this command shell. |
String |
getContextString()
Get the current context for this command shell as a string. |
IRemoteFileSubSystem |
getFileSubSystem()
Return the file subsystem associated with this command |
String[] |
getHistory()
Return the list of commands passed into this command |
String |
getId()
Gets the ID of the command shell |
int |
getIndexOf(Object output)
Get the position of this output object in the command container |
String |
getName()
Gets the name of the command shell or command that is being run. |
Object |
getOutputAt(int index)
Get the output object the specified index |
int |
getSize()
Return the number of output objects for this command. |
String |
getType()
Gets the type of the command shell or command that is being run. |
boolean |
isActive()
Indicate whether the corresponding command is running or not |
Object[] |
listOutput()
Get the list of output objects for this command. |
void |
removeOutput()
Remove output from the list of output for this command |
void |
removeOutput(Object output)
Remove output from the list of output for this command |
void |
updateHistory(String cmd)
|
Method Detail |
---|
String getId()
String getName()
String getType()
Object[] listOutput()
Object getContext()
String getContextString()
int getSize()
IRemoteFileSubSystem getFileSubSystem()
IRemoteCmdSubSystem getCommandSubSystem()
void associateProject(IProject project)
IProject getAssociatedProject()
void addOutput(Object output)
output
- the output object to addvoid removeOutput()
void removeOutput(Object output)
int getIndexOf(Object output)
Object getOutputAt(int index)
boolean isActive()
String[] getHistory()
void updateHistory(String cmd)
ICandidateCommand[] getCandidateCommands()
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |