Remote Systems
v6.4.1

com.ibm.etools.systems.core
Class SystemRemoteCommand

java.lang.Object
  extended bycom.ibm.etools.systems.core.SystemRemoteCommand
All Implemented Interfaces:
ISystemRemoteCommand

public class SystemRemoteCommand
extends Object
implements ISystemRemoteCommand

A remote command with the command string, messages retrieved, and possibly additional information


Field Summary
static String Copyright
           
 
Constructor Summary
SystemRemoteCommand(String cmd, ISystemRemoteCommandMessage[] msgs)
           
SystemRemoteCommand(String cmd, ISystemRemoteCommandMessage[] msgs, SubSystem subSys)
           
SystemRemoteCommand(String cmd, String[] msgsText)
           
SystemRemoteCommand(String cmd, String[] msgsText, String[] msgsHelp)
           
SystemRemoteCommand(String cmd, String[] msgsText, String[] msgsHelp, SubSystem subSys)
           
SystemRemoteCommand(String cmd, String[] msgsText, SubSystem subSys)
           
 
Method Summary
 String getCommand()
           
 String getInfo()
           
 ISystemRemoteCommandMessage[] getMessages()
           
 Object getObject()
           
 SubSystem getSubSystem()
           
 void setInfo(String info)
           
 void setObject(Object object)
           
 void setSubSystem(SubSystem sys)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

SystemRemoteCommand

public SystemRemoteCommand(String cmd,
                           String[] msgsText)

SystemRemoteCommand

public SystemRemoteCommand(String cmd,
                           String[] msgsText,
                           SubSystem subSys)

SystemRemoteCommand

public SystemRemoteCommand(String cmd,
                           String[] msgsText,
                           String[] msgsHelp)

SystemRemoteCommand

public SystemRemoteCommand(String cmd,
                           String[] msgsText,
                           String[] msgsHelp,
                           SubSystem subSys)

SystemRemoteCommand

public SystemRemoteCommand(String cmd,
                           ISystemRemoteCommandMessage[] msgs)

SystemRemoteCommand

public SystemRemoteCommand(String cmd,
                           ISystemRemoteCommandMessage[] msgs,
                           SubSystem subSys)
Method Detail

getCommand

public String getCommand()
Specified by:
getCommand in interface ISystemRemoteCommand
Returns:
command string

getInfo

public String getInfo()
Returns:
any additional information that has been set for the command

getObject

public Object getObject()
Specified by:
getObject in interface ISystemRemoteCommand
Returns:
any additional object that has been set for the command

getSubSystem

public SubSystem getSubSystem()
Specified by:
getSubSystem in interface ISystemRemoteCommand
Returns:
the subsystem the command is run on

getMessages

public ISystemRemoteCommandMessage[] getMessages()
Specified by:
getMessages in interface ISystemRemoteCommand
Returns:
the messages retrieved by running the command

setSubSystem

public void setSubSystem(SubSystem sys)

setInfo

public void setInfo(String info)

setObject

public void setObject(Object object)

toString

public String toString()

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.