|
RSE Release 3.4 |
|||||||||
| 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.files.core.subsystems.RemoteFileSubSystemConfiguration
org.eclipse.rse.subsystems.files.core.servicesubsystem.FileServiceSubSystemConfiguration
org.eclipse.rse.subsystems.files.ssh.SftpFileSubSystemConfiguration
public class SftpFileSubSystemConfiguration
| Field Summary | |
|---|---|
protected IHostFileToRemoteFileAdapter |
_hostFileAdapter
|
| Fields inherited from class org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileSubSystemConfiguration |
|---|
translatedType, unixStyle |
| 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 | |
|---|---|
SftpFileSubSystemConfiguration()
|
|
| Method Summary | |
|---|---|
IFileService |
createFileService(IHost host)
|
IHostSearchResultConfiguration |
createSearchConfiguration(IHost host,
IHostSearchResultSet resultSet,
Object searchTarget,
SystemSearchString searchString)
|
ISearchService |
createSearchService(IHost host)
|
ISubSystem |
createSubSystemInternal(IHost host)
Instantiate and return an instance of OUR subystem. |
IConnectorService |
getConnectorService(IHost host)
Get the connector service for a particular host. This default implementation returns null. |
IHostFileToRemoteFileAdapter |
getHostFileAdapter()
|
ILanguageUtilityFactory |
getLanguageUtilityFactory(IRemoteFileSubSystem ss)
|
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 factory is responsible for the creation of subsytems 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 |
supportsArchiveManagement()
Return true if subsystems for this configuration support archive management. |
boolean |
supportsEnvironmentVariablesPropertyPage()
Return true if subsystems of this factory support the environment variables property. |
boolean |
supportsFileTypes()
Return true if you support user-defined/managed named file types We return true |
boolean |
supportsFilters()
Return true if you support filters, false otherwise. |
boolean |
supportsSearch()
By default this returns true. |
| Methods inherited from class org.eclipse.rse.subsystems.files.core.servicesubsystem.FileServiceSubSystemConfiguration |
|---|
getFileService, getSearchService, getService, getServiceType, supportsServerLaunchProperties |
| Methods inherited from class org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileSubSystemConfiguration |
|---|
createDefaultFilterPool, getEditorProfileID, getFileFilterStringValidator, getFileNameValidator, getFolderNameValidator, getLineSeparator, getPathSeparator, getPathSeparatorChar, getPathValidator, getSeparator, getSeparatorChar, getTranslatedFilterTypeProperty, initializeSubSystem, isCaseSensitive, isUnixStyle, providesCustomDropInFilters, recursivelyUpdateIFileProperties, renameSubSystemProfile, setIsUnixStyle, supportsDropInFilters, supportsTargets |
| 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.files.core.subsystems.IRemoteFileSubSystemConfiguration |
|---|
getEditorProfileID, getFileFilterStringValidator, getFileNameValidator, getFolderNameValidator, getLineSeparator, getPathSeparator, getPathSeparatorChar, getPathValidator, getSeparator, getSeparatorChar, isCaseSensitive, isUnixStyle |
| 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 |
| Field Detail |
|---|
protected IHostFileToRemoteFileAdapter _hostFileAdapter
| Constructor Detail |
|---|
public SftpFileSubSystemConfiguration()
| Method Detail |
|---|
public boolean isFactoryFor(Class subSystemType)
RemoteFileSubSystemConfiguration
isFactoryFor in interface ISubSystemConfigurationisFactoryFor in class RemoteFileSubSystemConfigurationsubSystemType - type of subsystem
public ISubSystem createSubSystemInternal(IHost host)
RemoteFileSubSystemConfiguration
SubSystem subsys = ((AcmesubsysFactoryImpl)factory).createAcmeSubSystem();
return subsys;
noteThis method should be abstract but MOF doesn't allow abstract impl classes at this point
createSubSystemInternal in interface ISubSystemConfigurationcreateSubSystemInternal in class RemoteFileSubSystemConfigurationSubSystemConfiguration.createSubSystemInternal(IHost)public IConnectorService getConnectorService(IHost host)
SubSystemConfigurationISubSystemConfiguration.setConnectorService(IHost, IConnectorService).
This default implementation returns null. Service subsystem
configurations must override as defined in the interface.
getConnectorService in interface ISubSystemConfigurationgetConnectorService in class SubSystemConfigurationhost - the host for which to create or retrieve the connector service
ISubSystemConfiguration.supportsSubSystemConnect() is true.ISubSystemConfiguration.getConnectorService(IHost)
public void setConnectorService(IHost host,
IConnectorService connectorService)
SubSystemConfigurationThis default implementation does nothing. Service subsystems must override as defined in the interface.
setConnectorService in interface ISubSystemConfigurationsetConnectorService in class SubSystemConfigurationhost - the host for which to set this connector service.connectorService - the connector service associated with this host.ISubSystemConfiguration.setConnectorService(IHost,
IConnectorService)public IFileService createFileService(IHost host)
public ISearchService createSearchService(IHost host)
public IHostFileToRemoteFileAdapter getHostFileAdapter()
public Class getServiceImplType()
SubSystemConfigurationnull, 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 ISubSystemConfigurationgetServiceImplType in class SubSystemConfigurationISubSystemConfiguration.getServiceType(), or null if this is
not a service subsystem configuration.ISubSystemConfiguration.getServiceImplType()
public IHostSearchResultConfiguration createSearchConfiguration(IHost host,
IHostSearchResultSet resultSet,
Object searchTarget,
SystemSearchString searchString)
public ILanguageUtilityFactory getLanguageUtilityFactory(IRemoteFileSubSystem ss)
public boolean supportsArchiveManagement()
IRemoteFileSubSystemConfiguration
public boolean supportsFileTypes()
RemoteFileSubSystemConfigurationWe return true
supportsFileTypes in interface ISubSystemConfigurationsupportsFileTypes in class RemoteFileSubSystemConfigurationpublic boolean supportsSearch()
RemoteFileSubSystemConfiguration
supportsSearch in interface IRemoteFileSubSystemConfigurationsupportsSearch in class RemoteFileSubSystemConfigurationpublic boolean supportsEnvironmentVariablesPropertyPage()
RemoteFileSubSystemConfiguration
supportsEnvironmentVariablesPropertyPage in interface IRemoteFileSubSystemConfigurationsupportsEnvironmentVariablesPropertyPage in class RemoteFileSubSystemConfigurationpublic boolean supportsFilters()
SubSystemConfiguration
supportsFilters in interface ISubSystemConfigurationsupportsFilters in class SubSystemConfigurationtrue to indicate that Filters are supported by default.
|
RSE Release 3.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||