|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.rse.core.model.PropertySetContainer
org.eclipse.rse.core.model.RSEModelObject
org.eclipse.rse.core.subsystems.SubSystem
org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystem
org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.ShellServiceSubSystem
| Nested Class Summary |
|---|
| Nested classes inherited from class org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystem |
|---|
org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystem.CancelShellJob, org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystem.Refresh, org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystem.RefreshRemovedShell, org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystem.RefreshSubSystem, org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystem.RemoveShellJob, org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystem.RunCommandJob, org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystem.RunShellJob, org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystem.SendCommandToShellJob |
| Nested classes inherited from class org.eclipse.rse.core.subsystems.SubSystem |
|---|
SubSystem.ChangeStatusJob, SubSystem.ConnectJob, SubSystem.DisconnectJob, SubSystem.DisplayErrorMessageJob, SubSystem.GetPropertiesJob, SubSystem.GetPropertyJob, SubSystem.ResolveAbsoluteJob, SubSystem.ResolveAbsolutesJob, SubSystem.ResolveRelativeJob, SubSystem.SetPropertiesJob, SubSystem.SetPropertyJob, SubSystem.SubSystemOperationJob, SubSystem.SystemMessageDialogRunnable |
| Field Summary | |
|---|---|
protected IShellService |
_hostService
|
protected String |
_userHome
|
| Fields inherited from class org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystem |
|---|
_cmdShells, _defaultShell, _envVars, _fileSubSystem, COMMAND_SHELLS_MEMENTO, envVars |
| Fields inherited from class org.eclipse.rse.core.model.RSEModelObject |
|---|
_isDirty, _wasRestored |
| Constructor Summary | |
|---|---|
ShellServiceSubSystem(IHost host,
IConnectorService connectorService,
IShellService hostService)
|
|
| Methods inherited from class org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystem |
|---|
addEnvironmentVariable, addEnvironmentVariable, cancelAllShells, cancelShell, canRunCommand, canRunShell, checkForCancel, communicationsStateChange, getCandidateCommands, getChildren, getCommandSubSystem, getDefaultShell, getEnvironmentVariable, getEnvironmentVariableList, getEnvironmentVariableValue, getEnvVars, getEnvVarsAsStringArray, getFileSubSystem, getInvalidEnvironmentVariableNameCharacters, getObjectWithAbsoluteName, getParentRemoteCmdSubSystemConfiguration, getShellEncoding, getShells, getUserAndHostEnvVarsAsStringArray, hasChildren, internalRemoveShell, internalResolveFilterString, isPassiveCommunicationsListener, isUniqueVariable, isWindows, parsePathEnvironmentVariable, removeEnvironmentVariable, removeEnvironmentVariable, removeShell, restoreShellState, runCommand, runCommand, runShell, saveShellState, sendCommandToShell, setEnvironmentVariableList, setShellEncoding |
| Methods inherited from class org.eclipse.rse.core.model.RSEModelObject |
|---|
compareStrings, getDescription, isDirty, setDirty, setWasRestored, wasRestored |
| Methods inherited from class org.eclipse.rse.core.model.PropertySetContainer |
|---|
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteCmdSubSystem |
|---|
addEnvironmentVariable, addEnvironmentVariable, cancelShell, canRunCommand, canRunShell, getCandidateCommands, getDefaultShell, getEnvironmentVariable, getEnvironmentVariableList, getEnvironmentVariableValue, getEnvVars, getExecutedCommands, getInvalidEnvironmentVariableNameCharacters, getParentRemoteCmdSubSystemConfiguration, getShellEncoding, getShells, removeEnvironmentVariable, removeEnvironmentVariable, removeShell, restoreShellState, runCommand, runCommand, runShell, sendCommandToShell, setEnvironmentVariableList |
| Methods inherited from interface org.eclipse.rse.core.subsystems.IRemoteObjectResolver |
|---|
getObjectWithAbsoluteName |
| Methods inherited from interface org.eclipse.core.runtime.jobs.ISchedulingRule |
|---|
contains, isConflicting |
| Methods inherited from interface org.eclipse.rse.core.model.IRSEModelObject |
|---|
getDescription |
| Methods inherited from interface org.eclipse.rse.core.model.IPropertySetContainer |
|---|
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet |
| Methods inherited from interface org.eclipse.rse.core.persistance.IRSEPersistableContainer |
|---|
commit, isDirty, setDirty, setWasRestored, wasRestored |
| Field Detail |
protected String _userHome
protected IShellService _hostService
| Constructor Detail |
public ShellServiceSubSystem(IHost host,
IConnectorService connectorService,
IShellService hostService)
| Method Detail |
public IShellService getShellService()
getShellService in interface IShellServiceSubSystempublic void setShellService(IShellService service)
protected String getUserHome()
protected Object[] internalRunCommand(IProgressMonitor monitor,
String cmd,
Object context)
throws InvocationTargetException,
InterruptedException,
SystemMessageException
org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystemAs per IRunnableWithProgress rules:
InvocationTargetException
InterruptedException
SystemMessageException
protected Object[] internalRunCommand(IProgressMonitor monitor,
String cmd,
Object context,
boolean interpretOutput)
throws InvocationTargetException,
InterruptedException,
SystemMessageException
org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystemAs per IRunnableWithProgress rules:
InvocationTargetException
InterruptedException
SystemMessageException
protected IRemoteCommandShell internalRunShell(IProgressMonitor monitor,
Object context)
throws InvocationTargetException,
InterruptedException,
SystemMessageException
InvocationTargetException
InterruptedException
SystemMessageException
protected void internalCancelShell(IProgressMonitor monitor,
Object command)
throws InvocationTargetException,
InterruptedException
InvocationTargetException
InterruptedException
protected void internalSendCommandToShell(IProgressMonitor monitor,
String cmd,
Object command)
throws InvocationTargetException,
InterruptedException
InvocationTargetException
InterruptedException
protected IServiceCommandShell createRemoteCommandShell(IRemoteCmdSubSystem cmdSS,
IHostShell hostShell)
public String[] getHostEnvironment()
public List getHostEnvironmentVariables()
getHostEnvironmentVariables in interface IRemoteCmdSubSystempublic void switchServiceFactory(IServiceSubSystemConfiguration fact)
switchServiceFactory in interface IServiceSubSystempublic Class getServiceType()
getServiceType in interface IServiceSubSystempublic void initializeSubSystem(IProgressMonitor monitor)
ISubSystemIConnectorService after it connects.
initializeSubSystem in interface ISubSysteminitializeSubSystem in class SubSystemmonitor - a monitor that can be used to show progress or provide cancellation.public void uninitializeSubSystem(IProgressMonitor monitor)
ISubSystemIConnectorService after it disconnects
uninitializeSubSystem in interface ISubSystemuninitializeSubSystem in class SubSystemmonitor - a progress monitor that can be used to show uninitialization progress can provide cancellation.
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||