|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
com.ibm.etools.systems.subsystems.impl.SubSystemImpl
com.ibm.etools.systems.as400cmdsubsys.impl.AS400SubSystemImpl
com.ibm.etools.systems.as400cmdsubsys.impl.CmdSubSystemImpl
Nested Class Summary |
---|
Nested classes inherited from class com.ibm.etools.systems.subsystems.impl.SubSystemImpl |
---|
com.ibm.etools.systems.subsystems.impl.SubSystemImpl.ConnectRunnable, com.ibm.etools.systems.subsystems.impl.SubSystemImpl.DisplayErrorMessageRunnable |
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList |
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary | |
---|---|
protected static String |
ASP_GROUP_EDEFAULT
The default value of the ' ASP Group ' attribute. |
protected String |
aspGroup
|
protected static String |
CODE_ALIAS_EDEFAULT
The default value of the ' CODE Alias ' attribute. |
protected String |
codeAlias
|
static String |
copyright
|
protected String |
curlib
|
protected static String |
CURLIB_EDEFAULT
The default value of the ' Curlib ' attribute. |
protected org.eclipse.emf.common.util.EList |
envVars
|
boolean |
eventFileTrace
|
protected static String |
EXTRA_ATTRIBUTES_EDEFAULT
The default value of the ' Extra Attributes ' attribute. |
protected String |
extraAttributes
|
protected static String |
INITIAL_COMMAND_EDEFAULT
The default value of the ' Initial Command ' attribute. |
protected String |
initialCommand
|
protected org.eclipse.emf.common.util.EList |
initialLibraryList
|
static String[] |
INTERACTIVE_CMD_PREFIXES
|
protected static boolean |
RUN_SERVER_REMOTELY_EDEFAULT
The default value of the ' Run Server Remotely ' attribute. |
protected boolean |
runServerRemotely
|
protected static String |
SBM_JOB_PARMS_EDEFAULT
The default value of the ' SBM Job Parms ' attribute. |
protected String |
sbmJobParms
|
protected boolean |
sbmJobParmsESet
This is true if the SBM Job Parms attribute has been set. |
Fields inherited from class com.ibm.etools.systems.as400cmdsubsys.impl.AS400SubSystemImpl |
---|
shell |
Fields inherited from class com.ibm.etools.systems.subsystems.impl.SubSystemImpl |
---|
_system, ADDITIONAL_ATTRIBUTES_EDEFAULT, additionalAttributes, additionalAttributesESet, cancelable, DELIM_VENDOR_ATTR_VALUE, DELIM_VENDOR_ATTRS, DELIM_VENDOR_NAME, doConnection, FACTORY_ID_EDEFAULT, factoryId, filterPoolReferenceManager, hidden, HIDDEN_EDEFAULT, IBM_ATTRIBUTES_EDEFAULT, ibmAttributes, ibmAttributesESet, ibmAttrs, monitor, name, NAME_EDEFAULT, operation, OPERATION_CANCEL_SHELL, OPERATION_CONNECT, OPERATION_DISCONNECT, OPERATION_GET_PROPERTIES, OPERATION_GET_PROPERTY, OPERATION_REMOVE_SHELL, OPERATION_RESOLVE_ABSOLUTE, OPERATION_RESOLVE_ABSOLUTES, OPERATION_RESOLVE_RELATIVE, OPERATION_RUN_COMMAND, OPERATION_RUN_SHELL, OPERATION_SEND_COMMAND_TO_SHELL, OPERATION_SET_PROPERTIES, OPERATION_SET_PROPERTY, parentConnection, parentSubSystemFactory, pmDialog, port, PORT_EDEFAULT, previousUserIdKey, remoteServerLauncher, runContext, runException, runInput, runInput2, runInputs, runInputs2, runInThread, runObject, runOutput, runOutputs, runOutputString, runOutputStrings, saveFileName, sortResults, SUBSYSTEM_FILE_NAME, supportsConnecting, USE_SSL_EDEFAULT, USER_ID_EDEFAULT, userId, useSSL, VENDOR_ATTRIBUTES_EDEFAULT, vendorAttributes, vendorAttributesESet, vendorAttrs |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from interface com.ibm.etools.iseries.core.IISeriesSubSystem |
---|
Copyright |
Fields inherited from interface com.ibm.etools.systems.model.ISystemResourceChangeEvents |
---|
EVENT_ADD, EVENT_ADD_FILTER_REFERENCE, EVENT_ADD_FILTERSTRING_REFERENCE, EVENT_ADD_MANY, EVENT_ADD_RELATIVE, EVENT_CHANGE_CHILDREN, EVENT_CHANGE_FILTER_REFERENCE, EVENT_CHANGE_FILTERSTRING_REFERENCE, EVENT_COLLAPSE_ALL, EVENT_COLLAPSE_SELECTED, EVENT_COMMAND_FINISHED, EVENT_COMMAND_HISTORY_UPDATE, EVENT_COMMAND_MESSAGE, EVENT_COMMAND_RUN, EVENT_COMMAND_SHELL_FINISHED, EVENT_COMMAND_SHELL_REMOVED, EVENT_COMPILE_COMMAND_RUN, EVENT_DELETE, EVENT_DELETE_FILTER_REFERENCE, EVENT_DELETE_FILTERSTRING_REFERENCE, EVENT_DELETE_MANY, EVENT_EXPAND_SELECTED, EVENT_ICON_CHANGE, EVENT_MOVE_FILTER_REFERENCES, EVENT_MOVE_FILTERSTRING_REFERENCES, EVENT_MOVE_MANY, EVENT_MUST_COLLAPSE, EVENT_PROPERTY_CHANGE, EVENT_PROPERTYSHEET_UPDATE, EVENT_REFRESH, EVENT_REFRESH_REMOTE, EVENT_REFRESH_SELECTED, EVENT_REFRESH_SELECTED_FILTER, EVENT_REFRESH_SELECTED_PARENT, EVENT_RENAME, EVENT_RENAME_FILTER_REFERENCE, EVENT_REPLACE_CHILDREN, EVENT_REVEAL_AND_SELECT, EVENT_SEARCH_FINISHED, EVENT_SELECT, EVENT_SELECT_EXPAND, EVENT_SELECT_REMOTE, PROPERTYSHEET_UPDATE_EVENT |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
CmdSubSystemImpl()
THIS IS THE CONSTRUCTOR. |
Method Summary | |
---|---|
void |
addEnvironmentVariable(com.ibm.etools.systems.subsystems.RemoteSystemEnvVar rsev)
Add environment variable entry, given a RemoteSystemEnvVar object |
void |
addEnvironmentVariable(String name,
String value)
Add environment variable entry, given a name and value |
void |
addLibraryListEntry(String library,
String position)
Add library list entry |
int |
attachInteractiveJob(String jobName,
String queueName)
Attach to an iSeries interactive job. |
boolean |
canRunCommand()
Determine whether the command subsystem can run a command |
boolean |
canRunShell()
Determine whether the command subsystem can run a shell |
void |
clearCommandLog()
Clear log of executed commands on subsystem. |
void |
communicationsStateChange(com.ibm.etools.systems.subsystems.CommunicationsEvent e)
This method is invoked whenever the communications state is invoked immediately before and after the state of the communications changes. |
Object |
eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
Class baseClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
Class baseClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
boolean |
eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
void |
eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
Object newValue)
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
void |
eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
String |
getASPGroup()
|
com.ibm.etools.systems.subsystems.ICandidateCommand[] |
getCandidateCommands(Object obj)
Provides a list of candidate commands for the specified context. |
CmdSubSystem |
getCmdSubSystem()
Return the Command Subsystem for executing remote QSYS Commands |
String |
getCODEAlias()
|
Vector |
getCommandLog()
Provide log of executed commands on subsystem. |
String |
getCommandLogAsString()
Provide log of executed commands on subsystem. |
String |
getCurlib()
|
int |
getDebugRouterListeningPortNumber()
Start the program in a separate job that allows threads. |
com.ibm.etools.systems.subsystems.IRemoteCommandShell |
getDefaultShell(Shell shell)
|
com.ibm.etools.systems.subsystems.RemoteSystemEnvVar |
getEnvironmentVariable(String name)
Given an environment variable name, find its RemoteSystemEnvVar object. |
com.ibm.etools.systems.subsystems.RemoteSystemEnvVar[] |
getEnvironmentVariableList()
Get the initial environment variable list as a string of RemoteSystemEnvVar objects. |
String |
getEnvironmentVariableValue(String name)
Given an environment variable name, find its value. |
org.eclipse.emf.common.util.EList |
getEnvVars()
|
String[] |
getExecutedCommands()
Provide list of executed commands on subsystem. |
String |
getExtraAttributes()
|
String |
getInitialCommand()
Get the command that will be run at connect |
String |
getInitialCommandGen()
|
org.eclipse.emf.common.util.EList |
getInitialLibraryList()
|
SystemLibraryListEntry[] |
getInitialSystemLibraryList()
Get the initial library list as a string of SystemLibraryListEntry objects. |
String |
getInteractiveJobName()
Get the job name of the associated interactive job. |
String |
getInvalidEnvironmentVariableNameCharacters()
Restrict iSeries environment variable names to not include = and ' ' (space). |
com.ibm.etools.systems.subsystems.RemoteCmdSubSystemFactory |
getParentRemoteCmdSubSystemFactory()
Return parent subsystem factory, cast to a RemoteCmdSubSystemFactory for convenience. |
PropertyPage |
getPropertyPage(Composite parent)
Return our property page to contribute to the connection's property page, for the SubSystems node. |
String |
getSBMJobParms()
|
com.ibm.etools.systems.subsystems.IRemoteCommandShell[] |
getShells()
|
SystemLibraryListEntry |
getSystemLibraryListEntry(String library)
Given a library name, find its SystemLibraryListEntry object |
String |
getUserProfileCurLib()
Get the current library specified in the user profile |
protected Object[] |
internalResolveFilterString(IProgressMonitor monitor,
String filterString)
Actually resolve an absolute filter string. |
Object[] |
internalRunCommand(IProgressMonitor monitor,
String cmd,
Object context)
Actually run a remote command. |
static boolean |
isInteractiveCommand(String commandString)
Analyzes a given command to see if it appears to be interactive or not. |
boolean |
isInteractiveJobAvailable()
Method from interface IISeriesSubSystemCommandExecutionProperties . |
boolean |
isInteractiveJobBusy()
Check if the interactive job is currently busy processing a command. |
boolean |
isPassiveCommunicationsListener()
|
boolean |
isRunServerRemotely()
|
boolean |
isSetSBMJobParms()
|
boolean |
isShowEventsFile()
Returns whether events file should be shown when a command that generates an events file is run. |
protected void |
logCommand(String cmd,
Object[] msgs)
|
void |
processBatchCommandResults(String cmd,
Vector results)
processBatchCommandResults |
String |
promptCommand(String command)
Prompt remote command Return prompted command |
String |
promptCommand(String command,
boolean usePromptOverrideProgram)
|
String |
promptCommand(String command,
boolean usePromptOverrideProgram,
boolean execute)
Prompt remote command, specifying if the prompt override program for the command should be used (pass true if the command will prompted and then immediately executed). |
boolean |
releaseInteractiveJob()
Method from interface IISeriesSubSystemCommandExecutionProperties . |
int |
releaseThreadedApplication(String qualifiedJobName,
String messageQueue,
String messageKey)
Release the job that was started with the runThreadedApplication api. |
void |
removeEnvironmentVariable(com.ibm.etools.systems.subsystems.RemoteSystemEnvVar rsev)
Remove environment variable entry given its RemoteSystemEnvVar object |
void |
removeEnvironmentVariable(String name)
Remove environment variable entry given only its environment variable name |
void |
removeLibraryListEntry(String library)
Remove library list entry given only its library name |
void |
removeLibraryListEntry(SystemLibraryListEntry slle)
Remove library list entry given its SystemLibraryListEntry object |
com.ibm.etools.systems.subsystems.IRemoteCommandShell[] |
restoreShellState(Shell arg0)
|
Object[] |
runCommand(String command)
Execute remote command without a progress monitor Runs in our job, not in batch, not interactive. |
Object[] |
runCommand(String command,
int jobEnv)
Execute remote command without a progress monitor, possibly in batch, interactive, or just the RSE Server |
Object[] |
runCommand(String command,
IProgressMonitor monitor)
Execute remote command without a progress monitor Runs in our job, not in batch, not interactive. |
Object[] |
runCommand(String command,
Shell shell,
int jobEnv)
Execute remote command, possibly in batch, interactive, or just the RSE Server |
void |
runInitialCurrentDirectoy(IProgressMonitor monitor)
Used to set the initial current directory when signing on. |
Object[] |
runInitialLibraryList(IProgressMonitor monitor)
Setup the initial library list for connection time |
Object[] |
runInteractiveCommand(String command)
Run an interactive iSeries QSYS command (vs QSHELL). |
Object[] |
runInteractiveCommand(String command,
boolean queueCommand)
Run an interactive iSeries QSYS command (vs QSHELL). |
ISeriesDebugHoldJobInfo |
runThreadedApplication(String destinationName,
String programName,
String programParameters)
Start the program in a separate job that allows threads. |
void |
setASPGroup(String newASPGroup)
|
void |
setCODEAlias(String newCODEAlias)
|
void |
setCurlib(String newCurlib)
|
void |
setEnvironmentVariableList(String[] envVarNames,
String[] envVarValues)
Set the initial environment variable list entries, all in one shot, using a pair of String arrays: the first is the environment variable names, the second is the corresponding environment variable values. |
void |
setEventFileCommandDetector(ISeriesEventFileCommandDetector evfDetector)
Business partners can call this method to specify their own algorithm to use to decide if a given OS/400 command generates an event file or not. |
void |
setExtraAttributes(String newExtraAttributes)
|
void |
setInitialCommand(String cmd)
Set the command that will be run at connect time. |
void |
setInitialCommandGen(String newInitialCommand)
|
void |
setInitialSystemLibraryList(String[] libraries,
String[] positions)
Set the initial library list entries, all in one shot, using a pair of String arrays |
void |
setRunServerRemotely(boolean newRunServerRemotely)
|
void |
setSBMJobParms(String newSBMJobParms)
|
void |
setShowEventsFile(boolean showEventsFile)
Sets whether events file should be shown when a command that generates an events file is run. |
String |
toString()
|
void |
unsetSBMJobParms()
|
protected void |
updateCommandHistory(String executedCmd)
Maintain list of executed commands - list is in order of most recent to least recent - no duplicates |
void |
useDefaultEventFileDetector()
Use the default IBM-supplied algorithm for determining if a given OS/400 command generates an event file or not. |
Methods inherited from class com.ibm.etools.systems.subsystems.impl.SubSystemImpl |
---|
addResolvedFilterStringObjects, basicSetFilterPoolReferenceManager, basicSetRemoteServerLauncher, cancelShell, checkIsConnected, clearLocalUserId, connect, connect, connect, deletingConnection, disconnect, disconnect, displayAsyncMsg, doesFilterListContentsOf, doesFilterMatch, doesFilterStringListContentsOf, doesFilterStringMatch, doesFilterTypeMatch, filterEventFilterCreated, filterEventFilterPoolReferenceCreated, filterEventFilterPoolReferenceDeleted, filterEventFilterPoolReferenceRenamed, filterEventFilterPoolReferenceReset, filterEventFilterPoolReferencesRePositioned, filterEventFilterPoolReferencesReset, filterEventFilterStringCreated, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, forceUserIdToUpperCase, getActiveWorkbenchShell, getActiveWorkbenchWindow, getAdapter, getAdditionalAttributes, getChildren, getConnectionOwnedFilterPoolName, getConnectionPrivateFilterPool, getFactoryId, getFilterPoolReferenceManager, getFilterReferenceWithAbsoluteName, getFirstParentFilterString, getHostName, getIBMAttribute, getIbmAttributes, getLocalUserId, getLocalUserId, getName, getParentSubSystemFactory, getPort, getPortAsInt, getPreferencesKey, getPreferencesKey, getPreferencesManager, getProperties, getProperty, getQueryingMessage, getQueryingMessage, getRemoteServerLauncher, getResolvingMessage, getRunnableContext, getRunningMessage, getSaveFileName, getSettingMessage, getSettingMessage, getSystem, getSystemConnection, getSystemConnectionName, getSystemFilterPoolReferenceManager, getSystemProfile, getSystemProfileName, getSystemType, getTargetForFilter, getUDActionSubsystem, getUniqueOwningSystemFilterPool, getUserId, getUserIdGen, getVendorAttribute, getVendorAttributes, hasChildren, internalCancelShell, internalConnect, internalDisconnect, internalGetProperties, internalGetProperty, internalRemoveShell, internalResolveFilterString, internalResolveFilterStrings, internalRunShell, internalSendCommandToShell, internalSetProperties, internalSetProperty, isConnected, isHidden, isOffline, isSetAdditionalAttributes, isSetIbmAttributes, isSetVendorAttributes, isUseSSL, removeShell, renamingConnection, renamingProfile, resolveFilterString, resolveFilterString, resolveFilterString, resolveFilterString, resolveFilterStrings, resolveFilterStrings, run, runCommand, runShell, selectCommandSubSystem, sendCommandToShell, setAdditionalAttributes, setFactoryId, setFilterPoolReferenceManager, setHidden, setIBMAttribute, setIbmAttributes, setName, setParentConnection, setParentSubSystemFactory, setPort, setProperties, setProperty, setRemoteServerLauncher, setSaveFileName, setUserId, setUserIdGen, setUseSSL, setVendorAttribute, setVendorAttributes, showConnectCancelledMessage, showConnectErrorMessage, showDisconnectCancelledMessage, showDisconnectErrorMessage, showOperationCancelledMessage, showOperationErrorMessage, showOperationMessage, sortResolvedFilterStringObjects, unsetAdditionalAttributes, unsetIbmAttributes, unsetVendorAttributes |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eURIFragmentSegment |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.etools.iseries.core.IISeriesSubSystem |
---|
getCommandExecutionProperties, getISeriesSystem, getObjectSubSystem, getShell, getToolboxAS400Object, setShell |
Methods inherited from interface com.ibm.etools.systems.subsystems.SubSystem |
---|
checkIsConnected, clearLocalUserId, connect, connect, connect, deletingConnection, disconnect, disconnect, doesFilterListContentsOf, doesFilterMatch, doesFilterStringListContentsOf, doesFilterStringMatch, forceUserIdToUpperCase, getAdditionalAttributes, getCacheManager, getChildren, getCommandSubSystem, getFactoryId, getFilterPoolReferenceManager, getIbmAttributes, getLocalUserId, getName, getParentSubSystemFactory, getPort, getPortAsInt, getProperties, getProperty, getRemoteServerLauncher, getSaveFileName, getSystem, getSystemConnection, getSystemConnectionName, getSystemFilterPoolReferenceManager, getSystemManager, getSystemProfile, getSystemProfileName, getTargetForFilter, getUDActionSubsystem, getUserId, getVendorAttribute, getVendorAttributes, hasChildren, isConnected, isHidden, isOffline, isSetAdditionalAttributes, isSetIbmAttributes, isSetVendorAttributes, isUseSSL, renamingConnection, renamingProfile, resolveFilterString, resolveFilterString, resolveFilterString, resolveFilterString, resolveFilterStrings, resolveFilterStrings, setAdditionalAttributes, setFactoryId, setFilterPoolReferenceManager, setHidden, setIbmAttributes, setName, setParentConnection, setParentSubSystemFactory, setPort, setProperties, setProperty, setRemoteServerLauncher, setSaveFileName, setUserId, setUseSSL, setVendorAttribute, setVendorAttributes, supportsCaching, unsetAdditionalAttributes, unsetIbmAttributes, unsetVendorAttributes |
Methods inherited from interface com.ibm.etools.systems.filters.SystemFilterPoolReferenceManagerProvider |
---|
filterEventFilterCreated, filterEventFilterPoolReferenceCreated, filterEventFilterPoolReferenceDeleted, filterEventFilterPoolReferenceRenamed, filterEventFilterPoolReferenceReset, filterEventFilterPoolReferencesRePositioned, filterEventFilterPoolReferencesReset, filterEventFilterStringCreated, getUniqueOwningSystemFilterPool |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface com.ibm.etools.systems.subsystems.IRemoteObjectResolver |
---|
getObjectWithAbsoluteName |
Methods inherited from interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem |
---|
cancelShell, removeShell, runCommand, runShell, sendCommandToShell |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Field Detail |
public static final String copyright
protected static final String INITIAL_COMMAND_EDEFAULT
Initial Command
' attribute.
getInitialCommand()
public static final String[] INTERACTIVE_CMD_PREFIXES
public boolean eventFileTrace
protected String initialCommand
protected static final String CURLIB_EDEFAULT
Curlib
' attribute.
getCurlib()
protected String curlib
protected static final String CODE_ALIAS_EDEFAULT
CODE Alias
' attribute.
getCODEAlias()
protected String codeAlias
protected static final String SBM_JOB_PARMS_EDEFAULT
SBM Job Parms
' attribute.
getSBMJobParms()
protected String sbmJobParms
protected boolean sbmJobParmsESet
protected static final boolean RUN_SERVER_REMOTELY_EDEFAULT
Run Server Remotely
' attribute.
isRunServerRemotely()
,
Constant Field Valuesprotected boolean runServerRemotely
protected static final String ASP_GROUP_EDEFAULT
ASP Group
' attribute.
getASPGroup()
protected String aspGroup
protected static final String EXTRA_ATTRIBUTES_EDEFAULT
Extra Attributes
' attribute.
getExtraAttributes()
protected String extraAttributes
protected org.eclipse.emf.common.util.EList initialLibraryList
protected org.eclipse.emf.common.util.EList envVars
Constructor Detail |
protected CmdSubSystemImpl()
Method Detail |
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class AS400SubSystemImpl
public com.ibm.etools.systems.subsystems.RemoteSystemEnvVar[] getEnvironmentVariableList()
getEnvironmentVariableList
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
public void setEnvironmentVariableList(String[] envVarNames, String[] envVarValues)
setEnvironmentVariableList
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
public void addEnvironmentVariable(String name, String value)
addEnvironmentVariable
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
public void addEnvironmentVariable(com.ibm.etools.systems.subsystems.RemoteSystemEnvVar rsev)
addEnvironmentVariable
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
public void removeEnvironmentVariable(com.ibm.etools.systems.subsystems.RemoteSystemEnvVar rsev)
removeEnvironmentVariable
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
public void removeEnvironmentVariable(String name)
removeEnvironmentVariable
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
public com.ibm.etools.systems.subsystems.RemoteSystemEnvVar getEnvironmentVariable(String name)
getEnvironmentVariable
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
public String getEnvironmentVariableValue(String name)
getEnvironmentVariableValue
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
public String getInvalidEnvironmentVariableNameCharacters()
getInvalidEnvironmentVariableNameCharacters
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
RemoteCmdSubSystem.getInvalidEnvironmentVariableNameCharacters()
public Object[] runCommand(String command, Shell shell, int jobEnv) throws Exception
runCommand
in interface CmdSubSystem
command
- - iSeries CL command string to runshell
- - the shell to host the error message dialog, or password prompt, if needed. Can be null.jobEnv
- - one of IISeriesConstants.RUN_IN_BATCH, RUN_IN_INTERACTIVE, RUN_IN_RSESERVER, RUN_IN_RSESERVERMULTITHREADED
Exception
public Object[] runCommand(String command, int jobEnv) throws Exception
command
- - iSeries CL command string to runjobEnv
- - one of IISeriesConstants.RUN_IN_BATCH, RUN_IN_INTERACTIVE, RUN_IN_RSESERVER, RUN_IN_RSESERVERMULTITHREADED
Exception
public Object[] runCommand(String command) throws Exception
runCommand
in interface CmdSubSystem
Exception
public Object[] runCommand(String command, IProgressMonitor monitor) throws Exception
runCommand
in interface CmdSubSystem
Exception
public ISeriesDebugHoldJobInfo runThreadedApplication(String destinationName, String programName, String programParameters) throws com.ibm.etools.systems.core.messages.SystemMessageException
com.ibm.etools.systems.core.messages.SystemMessageException
public int releaseThreadedApplication(String qualifiedJobName, String messageQueue, String messageKey) throws com.ibm.etools.systems.core.messages.SystemMessageException
com.ibm.etools.systems.core.messages.SystemMessageException
public int getDebugRouterListeningPortNumber() throws com.ibm.etools.systems.core.messages.SystemMessageException
com.ibm.etools.systems.core.messages.SystemMessageException
public String[] getExecutedCommands()
getExecutedCommands
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
public com.ibm.etools.systems.subsystems.ICandidateCommand[] getCandidateCommands(Object obj)
getCandidateCommands
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
obj
- the context for the candidate commands
public Vector getCommandLog()
public String getCommandLogAsString()
public void clearCommandLog()
protected void updateCommandHistory(String executedCmd)
public String promptCommand(String command)
promptCommand
in interface CmdSubSystem
public String promptCommand(String command, boolean usePromptOverrideProgram)
public String promptCommand(String command, boolean usePromptOverrideProgram, boolean execute)
protected Object[] internalResolveFilterString(IProgressMonitor monitor, String filterString) throws InvocationTargetException, InterruptedException
InvocationTargetException
InterruptedException
public Object[] internalRunCommand(IProgressMonitor monitor, String cmd, Object context) throws InvocationTargetException, InterruptedException
internalRunCommand
in class AS400SubSystemImpl
InvocationTargetException
InterruptedException
public boolean canRunShell()
canRunShell
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
public boolean canRunCommand()
canRunCommand
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
protected void logCommand(String cmd, Object[] msgs)
public void processBatchCommandResults(String cmd, Vector results)
public Object[] runInitialLibraryList(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException
InvocationTargetException
InterruptedException
public void setInitialCommand(String cmd)
setInitialCommand
in interface CmdSubSystem
cmd
- The new value of the InitialCommand attributepublic String getInitialCommand()
getInitialCommand
in interface CmdSubSystem
public SystemLibraryListEntry[] getInitialSystemLibraryList()
getInitialSystemLibraryList
in interface CmdSubSystem
public void setInitialSystemLibraryList(String[] libraries, String[] positions)
setInitialSystemLibraryList
in interface CmdSubSystem
public void addLibraryListEntry(String library, String position)
addLibraryListEntry
in interface CmdSubSystem
public void removeLibraryListEntry(SystemLibraryListEntry slle)
removeLibraryListEntry
in interface CmdSubSystem
public void removeLibraryListEntry(String library)
removeLibraryListEntry
in interface CmdSubSystem
public SystemLibraryListEntry getSystemLibraryListEntry(String library)
getSystemLibraryListEntry
in interface CmdSubSystem
public String getInteractiveJobName()
public Object[] runInteractiveCommand(String command)
runInteractiveCommand
in interface CmdSubSystem
command
- The command to be run in the interactive job.
isInteractiveJobAvailable()
public Object[] runInteractiveCommand(String command, boolean queueCommand)
command
- The command to be run in the interactive job.queueCommand
- Add the command to the queue if the interactive job is currently busy.
isInteractiveJobAvailable()
public int attachInteractiveJob(String jobName, String queueName)
attachInteractiveJob
in interface CmdSubSystem
isInteractiveJobAvailable()
public boolean releaseInteractiveJob()
IISeriesSubSystemCommandExecutionProperties
.
Releases the interactive job. If no interactive job is available, no harm done.
releaseInteractiveJob
in interface CmdSubSystem
public boolean isInteractiveJobAvailable()
IISeriesSubSystemCommandExecutionProperties
.
Returns true if the user has started this communication session via the STRRSESERVER iSeries command, enabling use of interactive commands.
isInteractiveJobAvailable
in interface CmdSubSystem
public boolean isInteractiveJobBusy()
public static boolean isInteractiveCommand(String commandString)
public CmdSubSystem getCmdSubSystem()
getCmdSubSystem
in interface IISeriesSubSystem
getCmdSubSystem
in class AS400SubSystemImpl
IISeriesSubSystem.getCmdSubSystem()
public void communicationsStateChange(com.ibm.etools.systems.subsystems.CommunicationsEvent e)
communicationsStateChange
in interface com.ibm.etools.systems.subsystems.ICommunicationsListener
public boolean isPassiveCommunicationsListener()
isPassiveCommunicationsListener
in interface com.ibm.etools.systems.subsystems.ICommunicationsListener
ICommunicationsListener
public com.ibm.etools.systems.subsystems.IRemoteCommandShell getDefaultShell(Shell shell) throws Exception
getDefaultShell
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
Exception
public com.ibm.etools.systems.subsystems.IRemoteCommandShell[] getShells()
getShells
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
public PropertyPage getPropertyPage(Composite parent)
getPropertyPage
in interface com.ibm.etools.systems.subsystems.SubSystem
getPropertyPage
in class AS400SubSystemImpl
public com.ibm.etools.systems.subsystems.RemoteCmdSubSystemFactory getParentRemoteCmdSubSystemFactory()
getParentRemoteCmdSubSystemFactory
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
public String getCurlib()
getCurlib
in interface CmdSubSystem
public void setCurlib(String newCurlib)
setCurlib
in interface CmdSubSystem
newCurlib
- The new value of the Curlib attributepublic String getCODEAlias()
getCODEAlias
in interface CmdSubSystem
public void setCODEAlias(String newCODEAlias)
setCODEAlias
in interface CmdSubSystem
newCODEAlias
- The new value of the CODEAlias attributepublic String getSBMJobParms()
getSBMJobParms
in interface CmdSubSystem
public void setSBMJobParms(String newSBMJobParms)
setSBMJobParms
in interface CmdSubSystem
newSBMJobParms
- The new value of the SBMJobParms attributepublic void unsetSBMJobParms()
unsetSBMJobParms
in interface CmdSubSystem
CmdSubSystem.isSetSBMJobParms()
,
CmdSubSystem.getSBMJobParms()
,
CmdSubSystem.setSBMJobParms(String)
public boolean isSetSBMJobParms()
isSetSBMJobParms
in interface CmdSubSystem
CmdSubSystem.unsetSBMJobParms()
,
CmdSubSystem.getSBMJobParms()
,
CmdSubSystem.setSBMJobParms(String)
public String getExtraAttributes()
getExtraAttributes
in interface CmdSubSystem
public void setExtraAttributes(String newExtraAttributes)
setExtraAttributes
in interface CmdSubSystem
newExtraAttributes
- The new value of the ExtraAttributes attributepublic org.eclipse.emf.common.util.EList getInitialLibraryList()
getInitialLibraryList
in interface CmdSubSystem
public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
AS400SubSystemImpl
eIsSet
in interface org.eclipse.emf.ecore.EObject
eIsSet
in class AS400SubSystemImpl
public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, Object newValue)
AS400SubSystemImpl
eSet
in interface org.eclipse.emf.ecore.EObject
eSet
in class AS400SubSystemImpl
public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
AS400SubSystemImpl
eUnset
in interface org.eclipse.emf.ecore.EObject
eUnset
in class AS400SubSystemImpl
public String toString()
public String getInitialCommandGen()
public void setInitialCommandGen(String newInitialCommand)
public boolean isRunServerRemotely()
isRunServerRemotely
in interface CmdSubSystem
public void setRunServerRemotely(boolean newRunServerRemotely)
setRunServerRemotely
in interface CmdSubSystem
newRunServerRemotely
- The new value of the RunServerRemotely attributepublic String getASPGroup()
getASPGroup
in interface CmdSubSystem
public void setASPGroup(String newASPGroup)
setASPGroup
in interface CmdSubSystem
newASPGroup
- The new value of the ASPGroup attributepublic org.eclipse.emf.common.util.EList getEnvVars()
getEnvVars
in interface CmdSubSystem
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd
in interface org.eclipse.emf.ecore.InternalEObject
eInverseAdd
in class AS400SubSystemImpl
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in interface org.eclipse.emf.ecore.InternalEObject
eInverseRemove
in class AS400SubSystemImpl
public Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
eGet
in interface org.eclipse.emf.ecore.EObject
eGet
in class AS400SubSystemImpl
public void setEventFileCommandDetector(ISeriesEventFileCommandDetector evfDetector)
setEventFileCommandDetector
in interface CmdSubSystem
evfDetector
- the events file detector.CmdSubSystem.setEventFileCommandDetector(com.ibm.etools.systems.as400cmdsubsys.ISeriesEventFileCommandDetector)
public void useDefaultEventFileDetector()
useDefaultEventFileDetector
in interface CmdSubSystem
CmdSubSystem.useDefaultEventFileDetector()
public boolean isShowEventsFile()
true
if the events file should be shown, false
otherwise.public void setShowEventsFile(boolean showEventsFile)
showEventsFile
- true
if the events file should be shown, false
otherwise.public String getUserProfileCurLib()
public com.ibm.etools.systems.subsystems.IRemoteCommandShell[] restoreShellState(Shell arg0)
restoreShellState
in interface com.ibm.etools.systems.subsystems.RemoteCmdSubSystem
public void runInitialCurrentDirectoy(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException
InvocationTargetException
InterruptedException
|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |