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
-
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
getBooleanValueOfVariable
(VariableSpace space, String variableName, String defaultValue) getConnectionDetails
(ConnectionManager connectionManager) getNames()
getNames
(ConnectionManager connectionManager) org.apache.commons.vfs2.FileSystemOptions
protected VariableSpace
protected String
getVar
(String value, VariableSpace variableSpace) sanitizeName
(String string) protected void
setConnectionManagerSupplier
(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, wait
Methods inherited from interface org.pentaho.di.connections.ConnectionProvider
getClassType, getKey, getName, test
Methods 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:
getNames
in interfaceConnectionProvider<T extends VFSConnectionDetails>
-
getConnectionDetails
- Specified by:
getConnectionDetails
in interfaceConnectionProvider<T extends VFSConnectionDetails>
-
getNames
- Specified by:
getNames
in interfaceConnectionProvider<T extends VFSConnectionDetails>
-
getConnectionDetails
- Specified by:
getConnectionDetails
in interfaceConnectionProvider<T extends VFSConnectionDetails>
-
prepare
- Specified by:
prepare
in interfaceConnectionProvider<T extends VFSConnectionDetails>
- Throws:
KettleException
-
sanitizeName
- Specified by:
sanitizeName
in interfaceVFSConnectionProvider<T extends VFSConnectionDetails>
-
getOpts
- Specified by:
getOpts
in interfaceVFSConnectionProvider<T extends VFSConnectionDetails>
-
getVar
-
getBooleanValueOfVariable
protected static boolean getBooleanValueOfVariable(VariableSpace space, String variableName, String defaultValue) -
getSpace
-