|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRemoteCommand
The IRemoteCommand interface can be used to execute a command
on a remote system.
An IRemoteCommand can be created using IOSImage.getCommandObject().
| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
| Method Summary | |
|---|---|
String |
getCommandString()
Gets the command string that is associated with this command object. |
String |
getMessageString()
Returns the message string from the server if an exception occurred during command execution. |
String |
getResults()
Returns the results of the execution of the command. |
IOSImage |
getSystemImage()
Gets the system image associated with this remote command object. |
boolean |
isSuccess()
Determines if the command execution succeeded. |
void |
run()
Runs the command on the remote system. |
void |
setCommandString(String command)
Sets the command string to be executed. |
| Field Detail |
|---|
static final String COPY_RIGHT
| Method Detail |
|---|
IOSImage getSystemImage()
setSystemImage(IOSImage)void setCommandString(String command)
command - the command stringString getCommandString()
void run()
throws OperationFailedException
OperationFailedException - if the command execution fails;
this could be because the system is not connected, or the
command execution failed on the remote systemboolean isSuccess()
true if command succeeded;
false otherwiseString getResults()
String getMessageString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||