public class SftpSubsystemFactory extends AbstractSftpEventListenerManager implements SubsystemFactory, SftpEventListenerManager, SftpFileSystemAccessorManager
| Modifier and Type | Class and Description |
|---|---|
static class |
SftpSubsystemFactory.Builder |
| Modifier and Type | Field and Description |
|---|---|
static UnsupportedAttributePolicy |
DEFAULT_POLICY |
static String |
NAME |
BY_NAME_COMPARATOR, NAME_EXTRACTOR| Constructor and Description |
|---|
SftpSubsystemFactory() |
| Modifier and Type | Method and Description |
|---|---|
Command |
create() |
SftpErrorStatusDataHandler |
getErrorStatusDataHandler() |
org.apache.sshd.common.util.threads.CloseableExecutorService |
getExecutorService() |
SftpFileSystemAccessor |
getFileSystemAccessor() |
String |
getName() |
UnsupportedAttributePolicy |
getUnsupportedAttributePolicy() |
void |
setErrorStatusDataHandler(SftpErrorStatusDataHandler handler) |
void |
setExecutorService(org.apache.sshd.common.util.threads.CloseableExecutorService service) |
void |
setFileSystemAccessor(SftpFileSystemAccessor accessor) |
void |
setUnsupportedAttributePolicy(UnsupportedAttributePolicy p) |
addSftpEventListener, getRegisteredListeners, getSftpEventListenerProxy, removeSftpEventListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, setUpBuiltinFactories, setUpTransformedFactoriesfindByName, getNameList, getNames, removeByNameaddSftpEventListener, getSftpEventListenerProxy, removeSftpEventListenerpublic static final String NAME
public static final UnsupportedAttributePolicy DEFAULT_POLICY
public String getName()
getName in interface NamedResourcepublic org.apache.sshd.common.util.threads.CloseableExecutorService getExecutorService()
public void setExecutorService(org.apache.sshd.common.util.threads.CloseableExecutorService service)
service - The CloseableExecutorService to be used by the SftpSubsystem
command when starting execution. If null then a single-threaded ad-hoc service is used.public UnsupportedAttributePolicy getUnsupportedAttributePolicy()
public void setUnsupportedAttributePolicy(UnsupportedAttributePolicy p)
p - The UnsupportedAttributePolicy to use if failed to access
some local file attributes - never nullpublic SftpFileSystemAccessor getFileSystemAccessor()
getFileSystemAccessor in interface SftpFileSystemAccessorManagerpublic void setFileSystemAccessor(SftpFileSystemAccessor accessor)
setFileSystemAccessor in interface SftpFileSystemAccessorManagerpublic SftpErrorStatusDataHandler getErrorStatusDataHandler()
public void setErrorStatusDataHandler(SftpErrorStatusDataHandler handler)
Copyright © 2018 The Apache Software Foundation. All rights reserved.