|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.core.subsystems.SubSystemConfiguration
org.eclipse.rse.subsystems.shells.core.subsystems.RemoteCmdSubSystemConfiguration
org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.ShellServiceSubSystemConfiguration
org.eclipse.rse.subsystems.shells.local.LocalShellSubSystemConfiguration
public class LocalShellSubSystemConfiguration
Field Summary |
---|
Fields inherited from class org.eclipse.rse.subsystems.shells.core.subsystems.RemoteCmdSubSystemConfiguration |
---|
translatedType |
Fields inherited from class org.eclipse.rse.core.subsystems.SubSystemConfiguration |
---|
currentlyProcessingConnection, currentlyProcessingSubSystemConfiguration, currentlySelected, currentlySelectedConnection, filterPoolManagerList, filterPoolManagers, filterPoolManagersPerProfile, subSystemList |
Fields inherited from interface org.eclipse.rse.core.subsystems.ISubSystemConfiguration |
---|
FORCE_INTO_MEMORY, LAZILY |
Fields inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
---|
NO_CHILDREN |
Constructor Summary | |
---|---|
LocalShellSubSystemConfiguration()
|
Method Summary | |
---|---|
boolean |
canRunCommand()
|
IServiceCommandShell |
createRemoteCommandShell(IRemoteCmdSubSystem cmdSS,
IHostShell hostShell)
|
IShellService |
createShellService(IHost host)
|
ISubSystem |
createSubSystemInternal(IHost host)
Instantiate and return an instance of OUR subystem. |
String |
getCommandSeparator()
Return in string format the character used to separate commands. |
IConnectorService |
getConnectorService(IHost host)
Get the connector service for a particular host. This default implementation returns null . |
Class |
getServiceImplType()
Get the implementation type of the service associated with this subsystem configuration. This default implementation returns null . |
boolean |
isFactoryFor(Class subSystemType)
Determines whether this subsystem configuration is responsible for the creation of subsystems of the specified type Subsystem factories should override this to indicate which subsystems they support. |
void |
setConnectorService(IHost host,
IConnectorService connectorService)
Set the connector service for a particular host. This default implementation does nothing. |
boolean |
supportsCommands()
We return true. |
boolean |
supportsFilters()
Test if filters are supported. |
boolean |
supportsSubSystemConnect()
Returns false |
Methods inherited from class org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.ShellServiceSubSystemConfiguration |
---|
getService, getServiceType, getShellService, supportsServerLaunchProperties |
Methods inherited from class org.eclipse.rse.subsystems.shells.core.subsystems.RemoteCmdSubSystemConfiguration |
---|
createDefaultFilterPool, getTranslatedFilterTypeProperty, isCaseSensitive, supportsDuplicateFilterStrings, supportsEnvironmentVariablesPropertyPage, supportsFilterStringExport, supportsMultiStringFilters, supportsNestedFilters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteCmdSubSystemConfiguration |
---|
supportsEnvironmentVariablesPropertyPage |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Methods inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
---|
getPersistableChildren, getPersistableParent, isDirty, isTainted, setDirty, setTainted, setWasRestored, wasRestored |
Constructor Detail |
---|
public LocalShellSubSystemConfiguration()
Method Detail |
---|
public String getCommandSeparator()
IRemoteCmdSubSystemConfiguration
getCommandSeparator
in interface IRemoteCmdSubSystemConfiguration
getCommandSeparator
in class RemoteCmdSubSystemConfiguration
public boolean isFactoryFor(Class subSystemType)
SubSystemConfiguration
isFactoryFor
in interface ISubSystemConfiguration
isFactoryFor
in class SubSystemConfiguration
subSystemType
- type of subsystem
public ISubSystem createSubSystemInternal(IHost host)
createSubSystemInternal
in interface ISubSystemConfiguration
createSubSystemInternal
in class SubSystemConfiguration
public boolean supportsFilters()
RemoteCmdSubSystemConfiguration
false
.
supportsFilters
in interface ISubSystemConfiguration
supportsFilters
in class RemoteCmdSubSystemConfiguration
true
to indicate that Filters are supported by default.SubSystemConfiguration.supportsFilters()
public boolean supportsSubSystemConnect()
false
supportsSubSystemConnect
in interface ISubSystemConfiguration
supportsSubSystemConnect
in class SubSystemConfiguration
SubSystemConfiguration.supportsSubSystemConnect()
public IConnectorService getConnectorService(IHost host)
SubSystemConfiguration
ISubSystemConfiguration.setConnectorService(IHost, IConnectorService)
.
This default implementation returns null
. Service subsystem
configurations must override as defined in the interface.
getConnectorService
in interface ISubSystemConfiguration
getConnectorService
in class SubSystemConfiguration
host
- the host for which to create or retrieve the connector service
ISubSystemConfiguration.supportsSubSystemConnect()
is true.ISubSystemConfiguration.getConnectorService(IHost)
public IShellService createShellService(IHost host)
public boolean supportsCommands()
RemoteCmdSubSystemConfiguration
supportsCommands
in interface ISubSystemConfiguration
supportsCommands
in class RemoteCmdSubSystemConfiguration
SubSystemConfiguration.supportsCommands()
public boolean canRunCommand()
public void setConnectorService(IHost host, IConnectorService connectorService)
SubSystemConfiguration
This default implementation does nothing. Service subsystems must override as defined in the interface.
setConnectorService
in interface ISubSystemConfiguration
setConnectorService
in class SubSystemConfiguration
host
- the host for which to set this connector service.connectorService
- the connector service associated with this host.ISubSystemConfiguration.setConnectorService(IHost,
IConnectorService)
public Class getServiceImplType()
SubSystemConfiguration
null
, otherwise it
must return the class that implements the interface specified in
ISubSystemConfiguration.getServiceType()
.
This default implementation returns null
. Service subsystem
configurations must override as defined in the interface.
getServiceImplType
in interface ISubSystemConfiguration
getServiceImplType
in class SubSystemConfiguration
ISubSystemConfiguration.getServiceType()
, or null
if this is
not a service subsystem configuration.ISubSystemConfiguration.getServiceImplType()
public IServiceCommandShell createRemoteCommandShell(IRemoteCmdSubSystem cmdSS, IHostShell hostShell)
createRemoteCommandShell
in interface IShellServiceSubSystemConfiguration
createRemoteCommandShell
in class ShellServiceSubSystemConfiguration
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |