Package org.pentaho.di.connections.vfs
Class BaseVFSConnectionProvider<T extends VFSConnectionDetails>
java.lang.Object
org.pentaho.di.connections.vfs.BaseVFSConnectionProvider<T>
- All Implemented Interfaces:
ConnectionProvider<T>,VFSConnectionProvider<T>
- Direct Known Subclasses:
OtherConnectionDetailsProvider
public abstract class BaseVFSConnectionProvider<T extends VFSConnectionDetails>
extends Object
implements VFSConnectionProvider<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static booleangetBooleanValueOfVariable(VariableSpace space, String variableName, String defaultValue) getConnectionDetails(ConnectionManager connectionManager) getNames()getNames(ConnectionManager connectionManager) org.apache.commons.vfs2.FileSystemOptionsprotected VariableSpaceprotected StringgetVar(String value, VariableSpace variableSpace) sanitizeName(String string) protected voidsetConnectionManagerSupplier(Supplier<ConnectionManager> connectionManagerSupplier) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pentaho.di.connections.ConnectionProvider
getClassType, getKey, getName, testMethods inherited from interface org.pentaho.di.connections.vfs.VFSConnectionProvider
getDirectFile, getFileNameTransformer, getLocations, getProtocol
-
Constructor Details
-
BaseVFSConnectionProvider
public BaseVFSConnectionProvider()
-
-
Method Details
-
setConnectionManagerSupplier
@Deprecated(forRemoval=true) protected void setConnectionManagerSupplier(@NonNull Supplier<ConnectionManager> connectionManagerSupplier) Deprecated, for removal: This API element is subject to removal in a future version.This method was added solely to support unit testing of deprecated behavior.- Parameters:
connectionManagerSupplier- A supplier of connection manager.
-
getNames
- Specified by:
getNamesin interfaceConnectionProvider<T extends VFSConnectionDetails>
-
getConnectionDetails
- Specified by:
getConnectionDetailsin interfaceConnectionProvider<T extends VFSConnectionDetails>
-
getNames
- Specified by:
getNamesin interfaceConnectionProvider<T extends VFSConnectionDetails>
-
getConnectionDetails
- Specified by:
getConnectionDetailsin interfaceConnectionProvider<T extends VFSConnectionDetails>
-
prepare
- Specified by:
preparein interfaceConnectionProvider<T extends VFSConnectionDetails>- Throws:
KettleException
-
sanitizeName
- Specified by:
sanitizeNamein interfaceVFSConnectionProvider<T extends VFSConnectionDetails>
-
getOpts
- Specified by:
getOptsin interfaceVFSConnectionProvider<T extends VFSConnectionDetails>
-
getVar
-
getBooleanValueOfVariable
protected static boolean getBooleanValueOfVariable(VariableSpace space, String variableName, String defaultValue) -
getSpace
-