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 Constructor Description BaseVFSConnectionProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static boolean
getBooleanValueOfVariable(VariableSpace space, String variableName, String defaultValue)
List<T>
getConnectionDetails()
List<String>
getNames()
protected VariableSpace
getSpace(ConnectionDetails connectionDetails)
protected String
getVar(String value, VariableSpace variableSpace)
T
prepare(T connectionDetails)
String
sanitizeName(String string)
-
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
getLocations, getOpts, getProtocol
-
-
-
-
Method Detail
-
getNames
public List<String> getNames()
- Specified by:
getNames
in interfaceConnectionProvider<T extends VFSConnectionDetails>
-
getConnectionDetails
public List<T> getConnectionDetails()
- Specified by:
getConnectionDetails
in interfaceConnectionProvider<T extends VFSConnectionDetails>
-
prepare
public T prepare(T connectionDetails) throws KettleException
- Specified by:
prepare
in interfaceConnectionProvider<T extends VFSConnectionDetails>
- Throws:
KettleException
-
sanitizeName
public String sanitizeName(String string)
- Specified by:
sanitizeName
in interfaceVFSConnectionProvider<T extends VFSConnectionDetails>
-
getVar
protected String getVar(String value, VariableSpace variableSpace)
-
getBooleanValueOfVariable
protected static boolean getBooleanValueOfVariable(VariableSpace space, String variableName, String defaultValue)
-
getSpace
protected VariableSpace getSpace(ConnectionDetails connectionDetails)
-
-