org.pentaho.di.core.vfs.configuration
Class KettleSftpFileSystemConfigBuilder
java.lang.Object
  
org.apache.commons.vfs.FileSystemConfigBuilder
      
org.pentaho.di.core.vfs.configuration.KettleGenericFileSystemConfigBuilder
          
org.pentaho.di.core.vfs.configuration.KettleSftpFileSystemConfigBuilder
- All Implemented Interfaces: 
 - IKettleFileSystemConfigBuilder
 
public class KettleSftpFileSystemConfigBuilder
- extends KettleGenericFileSystemConfigBuilder
 
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
 
 
 
| Methods inherited from class org.apache.commons.vfs.FileSystemConfigBuilder | 
getRootURI, setRootURI | 
 
 
getInstance
public static KettleSftpFileSystemConfigBuilder getInstance()
 
setParameter
public void setParameter(org.apache.commons.vfs.FileSystemOptions opts,
                         String name,
                         String value,
                         String fullParameterName,
                         String vfsUrl)
                  throws IOException
- Publicly expose a generic way to set parameters
- Specified by:
 setParameter in interface IKettleFileSystemConfigBuilder- Overrides:
 setParameter in class KettleGenericFileSystemConfigBuilder
 
- Throws:
 IOException