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 booleangetBooleanValueOfVariable(VariableSpace space, String variableName, String defaultValue)List<T>getConnectionDetails()List<String>getNames()protected VariableSpacegetSpace(ConnectionDetails connectionDetails)protected StringgetVar(String value, VariableSpace variableSpace)Tprepare(T connectionDetails)StringsanitizeName(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:
getNamesin interfaceConnectionProvider<T extends VFSConnectionDetails>
-
getConnectionDetails
public List<T> getConnectionDetails()
- Specified by:
getConnectionDetailsin interfaceConnectionProvider<T extends VFSConnectionDetails>
-
prepare
public T prepare(T connectionDetails) throws KettleException
- Specified by:
preparein interfaceConnectionProvider<T extends VFSConnectionDetails>- Throws:
KettleException
-
sanitizeName
public String sanitizeName(String string)
- Specified by:
sanitizeNamein 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)
-
-