public interface ISystemUtilities
| Modifier and Type | Method and Description |
|---|---|
void |
disconnectSystem(ISystemImage pZosSystem,
org.eclipse.core.runtime.IProgressMonitor pMon)
Disconnect a connected system.
|
java.util.List<ISystemImage> |
getActivezOSSystems()
Get all defined z/OS system within the IDz client, which are currently
connected to zOS.
|
java.util.List<ISystemImage> |
getAllzOSSystems()
Get all defined z/OS system within the AWM client.
|
java.lang.String |
getLastResult(java.lang.String pEncodingCharset)
Returns the output of the last sent command.
|
java.util.List<java.lang.String> |
getLastResultLines(java.lang.String pEncodingCharset)
Returns the output of the last command line per line.
|
ISystemImage |
getSystemFromName(java.lang.String pRemoteSystemName) |
java.lang.String |
getUserID()
Gets the remote user ID.
|
boolean |
sendHostCommand(ISystemImage pSI,
java.lang.String pCommand,
org.eclipse.core.runtime.IProgressMonitor pMonitor)
Executes a command on the selected remote system.
|
boolean |
startDialogProcess(ISystemImage pSI,
java.lang.String pCommand,
ToolDescriptor pTool,
IExecutionContext pContext,
org.eclipse.core.runtime.IProgressMonitor pMonitor)
Starts an ISPF dialog application on the given remote system.
|
java.util.List<ISystemImage> getAllzOSSystems()
java.util.List<ISystemImage> getActivezOSSystems()
void disconnectSystem(ISystemImage pZosSystem, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
pZosSystem - zOS SystempMon - progress monitorTaurusCoreException - if disconnecting the system failsboolean startDialogProcess(ISystemImage pSI, java.lang.String pCommand, ToolDescriptor pTool, IExecutionContext pContext, org.eclipse.core.runtime.IProgressMonitor pMonitor) throws java.io.IOException, TaurusCoreException
pSI - z/OS system where the dialog application is startedpCommand - Name of the dialog REXX to be executedpTool - the tool describing the dialog to be executedpContext - execution contextpMonitor - progress monitor or nulltrue, if the command was successfully executedjava.io.IOException - I/O error while communicating with the remote systemTaurusCoreException - if the ISystemImage is not supported by the
ISystemUtilitiesboolean sendHostCommand(ISystemImage pSI, java.lang.String pCommand, org.eclipse.core.runtime.IProgressMonitor pMonitor) throws java.io.IOException, TaurusCoreException
pSI - z/OS system to which the command is sentpCommand - TSO command string to be executedpMonitor - progress monitor or nulltrue, if the command was successfully executedTaurusCoreException - if the ISystemImage is not supported by the
ISystemUtilitiesjava.io.IOException - severe error during the execution of the commandjava.lang.String getLastResult(java.lang.String pEncodingCharset)
throws java.io.IOException
pEncodingCharset - the character set to convert the response streamnull, if there was no
command executed so far or the last command was not successfully
executedjava.io.IOException - if the last result could not be read or convertedjava.util.List<java.lang.String> getLastResultLines(java.lang.String pEncodingCharset)
throws java.io.IOException
pEncodingCharset - the character set to convert the response streamnull, if there was no command executed so far or the
last command was not successfully executedjava.io.IOException - if the last result could not be read or convertedjava.lang.String getUserID()
null if the user has
never been connected to the remote system.nullISystemImage getSystemFromName(java.lang.String pRemoteSystemName) throws TaurusCoreException
pRemoteSystemName - the name of an existing remote systemISystemImage or null if no system
with the given name could be foundTaurusCoreException - if an error occurs during the system searchCopyright © 2015 Micro Focus GmbH. All rights reserved.