|
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(java.lang.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 |
java.lang.Object |
getContext()
Get the current context for this command shell. |
java.lang.String |
getContextString()
Get the current context for this command shell as a string. |
IRemoteFileSubSystem |
getFileSubSystem()
Return the file subsystem associated with this command |
java.lang.String[] |
getHistory()
Return the list of commands passed into this command |
java.lang.String |
getId()
Gets the ID of the command shell |
int |
getIndexOf(java.lang.Object output)
Get the position of this output object in the command container |
java.lang.String |
getName()
Gets the name of the command shell or command that is being run. |
java.lang.Object |
getOutputAt(int index)
Get the output object the specified index |
int |
getSize()
Return the number of output objects for this command. |
java.lang.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 |
java.lang.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(java.lang.Object output)
Remove output from the list of output for this command |
void |
updateHistory(java.lang.String cmd)
|
Method Detail |
---|
java.lang.String getId()
java.lang.String getName()
java.lang.String getType()
java.lang.Object[] listOutput()
java.lang.Object getContext()
java.lang.String getContextString()
int getSize()
IRemoteFileSubSystem getFileSubSystem()
IRemoteCmdSubSystem getCommandSubSystem()
void associateProject(IProject project)
IProject getAssociatedProject()
void addOutput(java.lang.Object output)
output
- the output object to addvoid removeOutput()
void removeOutput(java.lang.Object output)
int getIndexOf(java.lang.Object output)
java.lang.Object getOutputAt(int index)
boolean isActive()
java.lang.String[] getHistory()
void updateHistory(java.lang.String cmd)
ICandidateCommand[] getCandidateCommands()
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |