Class KettleSftpFileSystemConfigBuilder
java.lang.Object
org.apache.commons.vfs2.FileSystemConfigBuilder
org.pentaho.di.core.vfs.configuration.KettleGenericFileSystemConfigBuilder
org.pentaho.di.core.vfs.configuration.KettleSftpFileSystemConfigBuilder
- All Implemented Interfaces:
IKettleFileSystemConfigBuilder
An SFTP FileSystemConfigBuilder that uses Kettle variables to build SFTP VFS configuration options. Options can be
specified by host by appending the host name (as it will appear in the VFS URL) to the end of the parameter. (e.g.-
vfs.sftp.parameter.192.168.1.5)
Overriden parameters are currently:
Parameter | Description |
---|---|
AuthKeyPassphrase | The passphrase that unlocks the private key. (Recommended on a per host basis, unless the passphrase is the same for ALL authentication keys) |
identity | Local file path (Not VFS) to the private key for authentication. |
- Author:
- cboyden
-
Constructor Summary
-
Method Summary
Methods inherited from class org.pentaho.di.core.vfs.configuration.KettleGenericFileSystemConfigBuilder
extractScheme, getBowl, getVariableSpace, parseParameterName, setBowl, setParameter
Methods inherited from class org.apache.commons.vfs2.FileSystemConfigBuilder
getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCharacter, getCharacter, getCharacter, getDouble, getDouble, getDouble, getDuration, getDuration, getDurationInteger, getDurationInteger, getEnum, getEnum, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getParam, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setParam, setRootURI, toBooleanObject
-
Constructor Details
-
KettleSftpFileSystemConfigBuilder
protected KettleSftpFileSystemConfigBuilder()
-
-
Method Details
-
getInstance
-
getConfigClass
- Overrides:
getConfigClass
in classKettleGenericFileSystemConfigBuilder
-
setParameter
public void setParameter(org.apache.commons.vfs2.FileSystemOptions opts, String name, String value, String fullParameterName, String vfsUrl) throws IOException Publicly expose a generic way to set parameters- Specified by:
setParameter
in interfaceIKettleFileSystemConfigBuilder
- Overrides:
setParameter
in classKettleGenericFileSystemConfigBuilder
- Throws:
IOException
-