|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object RemoteCmdSubSystem com.ibm.etools.iseries.subsystems.ifs.commands.IFSCmdSubSystem
public class IFSCmdSubSystem
Field Summary | |
---|---|
protected String |
_userHome
|
Constructor Summary | |
---|---|
IFSCmdSubSystem(IHost host,
IConnectorService connectorService,
IService hostService)
|
Method Summary | |
---|---|
boolean |
canRunCommand()
Determine whether the command subsystem can run a command |
boolean |
canRunShell()
Determine whether the command subsystem can run a shell |
protected IServiceCommandShell |
createRemoteCommandShell(IRemoteCmdSubSystem cmdSS,
IHostShell hostShell)
|
ISubSystem |
getCmdSubSystem()
Return the command subsystem ("iSeries Commands") for executing remote QSYS commands |
IRemoteSystemEnvVar |
getEnvironmentVariable(String name)
Redirect environment variable support to the QSYS cmd subsystem so all iSeries subsystems share the same env vars. |
IRemoteSystemEnvVar[] |
getEnvironmentVariableList()
Redirect environment variable support to the QSYS cmd subsystem so all iSeries subsystems share the same env vars. |
String |
getEnvironmentVariableValue(String name)
Redirect environment variable support to the QSYS cmd subsystem so all iSeries subsystems share the same env vars. |
String[] |
getEnvVarsAsStringArray()
|
String[] |
getHostEnvironment()
|
List |
getHostEnvironmentVariables()
|
String |
getInvalidEnvironmentVariableNameCharacters()
|
ISubSystem |
getObjectSubSystem()
Return the objects subsystem ("iSeries Objects") for accessing remote QSYS libs, objs, mbrs, etc. |
PropertyPage |
getPropertyPage(Composite parent)
Override so we are sure no pages are contributed to the subsystems tab of the property page for the parent connection. |
Shell |
getShell()
Method required by com.ibm.etools.iseries.core.IISeriesSubSystem interface, which all IBM-supplied iSeries subsystems implement. |
IShellService |
getShellService()
|
protected String |
getUserHome()
cmvc65821 - private method called by setRemoteEnvironment(DataElement) |
protected void |
internalCancelShell(Object command,
IProgressMonitor monitor)
|
protected Object[] |
internalRunCommand(String command,
Object context,
boolean interpretOutput,
IProgressMonitor monitor)
|
protected Object[] |
internalRunCommand(String cmd,
Object context,
IProgressMonitor monitor)
|
protected Object[] |
internalRunCommandImpl(String cmd,
Object context,
boolean interpretOutput,
IProgressMonitor monitor)
|
protected Object[] |
internalRunCommandImpl(String cmd,
Object context,
IProgressMonitor monitor)
|
IRemoteCommandShell |
internalRunShell(Object context,
IProgressMonitor monitor)
|
protected IRemoteCommandShell |
internalRunShellImpl(Object context,
IProgressMonitor monitor)
|
protected void |
internalSendCommandToShell(String cmd,
Object command,
IProgressMonitor monitor)
|
boolean |
runRemoteCommand(IRemoteFile sourceDir,
String command)
|
void |
setEnvironmentVariableList(String[] envVarNames,
String[] envVarValues)
Redirect environment variable support to the QSYS cmd subsystem so all iSeries subsystems share the same env vars. |
void |
setShell(Shell shell)
Method required by com.ibm.etools.iseries.core.IISeriesSubSystem interface, which all IBM-supplied iSeries subsystems implement. |
protected boolean |
validateCommand(String command)
Validate given QShell command is valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String _userHome
Constructor Detail |
---|
public IFSCmdSubSystem(IHost host, IConnectorService connectorService, IService hostService)
Method Detail |
---|
public ISubSystem getCmdSubSystem()
IISeriesSubSystem
getCmdSubSystem
in interface IISeriesSubSystem
public ISubSystem getObjectSubSystem()
IISeriesSubSystem
getObjectSubSystem
in interface IISeriesSubSystem
public void setShell(Shell shell)
Set the shell to be used when a dialog is needed, such as when prompting for password or showing an error message.
public Shell getShell()
Get the shell to be used when a dialog is needed, such as when prompting for password or showing an error message. This is as last set by calling setShell(Shell).
protected boolean validateCommand(String command)
public boolean canRunShell()
public boolean canRunCommand()
protected IRemoteCommandShell internalRunShellImpl(Object context, IProgressMonitor monitor) throws InvocationTargetException, InterruptedException, SystemMessageException
InvocationTargetException
InterruptedException
SystemMessageException
public IRemoteCommandShell internalRunShell(Object context, IProgressMonitor monitor) throws InvocationTargetException, InterruptedException, SystemMessageException
InvocationTargetException
InterruptedException
SystemMessageException
UniversalCmdSubSystemImpl#internalRunShell()
protected Object[] internalRunCommandImpl(String cmd, Object context, IProgressMonitor monitor) throws InvocationTargetException, InterruptedException, SystemMessageException
InvocationTargetException
InterruptedException
SystemMessageException
protected Object[] internalRunCommandImpl(String cmd, Object context, boolean interpretOutput, IProgressMonitor monitor) throws InvocationTargetException, InterruptedException, SystemMessageException
InvocationTargetException
InterruptedException
SystemMessageException
protected Object[] internalRunCommand(String cmd, Object context, IProgressMonitor monitor) throws InvocationTargetException, InterruptedException, SystemMessageException
InvocationTargetException
InterruptedException
SystemMessageException
protected Object[] internalRunCommand(String command, Object context, boolean interpretOutput, IProgressMonitor monitor) throws InvocationTargetException, InterruptedException, SystemMessageException
InvocationTargetException
InterruptedException
SystemMessageException
UniversalCmdSubSystemImpl#internalRunCommand()
public boolean runRemoteCommand(IRemoteFile sourceDir, String command) throws InterruptedException
InterruptedException
UniversalCmdSubSystemImpl#runRemoteCommand(IRemoteFile, String)
protected void internalCancelShell(Object command, IProgressMonitor monitor) throws InvocationTargetException, InterruptedException
InvocationTargetException
InterruptedException
protected void internalSendCommandToShell(String cmd, Object command, IProgressMonitor monitor) throws InvocationTargetException, InterruptedException
InvocationTargetException
InterruptedException
protected IServiceCommandShell createRemoteCommandShell(IRemoteCmdSubSystem cmdSS, IHostShell hostShell)
public PropertyPage getPropertyPage(Composite parent)
public IRemoteSystemEnvVar getEnvironmentVariable(String name)
com.ibm.etools.systems.subsystems.RemoteCmdSubSystem#getEnvironmentVariable(String)
public IRemoteSystemEnvVar[] getEnvironmentVariableList()
com.ibm.etools.systems.subsystems.RemoteCmdSubSystem#getEnvironmentVariableList()
public String getEnvironmentVariableValue(String name)
com.ibm.etools.systems.subsystems.RemoteCmdSubSystem#getEnvironmentVariableValue(String)
public void setEnvironmentVariableList(String[] envVarNames, String[] envVarValues)
com.ibm.etools.systems.subsystems.RemoteCmdSubSystem#setEnvironmentVariableList(String[], String[])
protected String getUserHome()
public String[] getHostEnvironment()
public List getHostEnvironmentVariables()
public IShellService getShellService()
public String[] getEnvVarsAsStringArray()
public String getInvalidEnvironmentVariableNameCharacters()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |