Package org.pentaho.di.shared
Class PassthroughManager<T extends org.pentaho.di.shared.SharedObjectInterface<T> & org.pentaho.di.repository.RepositoryElementInterface>
java.lang.Object
org.pentaho.di.shared.PassthroughManager<T>
- All Implemented Interfaces:
SharedObjectsManagementInterface<T>
- Direct Known Subclasses:
PassthroughClusterSchemaManager,PassthroughDbConnectionManager,PassthroughPartitionSchemaManager,PassthroughSlaveServerManager
public abstract class PassthroughManager<T extends org.pentaho.di.shared.SharedObjectInterface<T> & org.pentaho.di.repository.RepositoryElementInterface>
extends Object
implements SharedObjectsManagementInterface<T>
This Manager that does not cache anything. Complete passthrough to the provided SharedObjectsIO instance.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPassthroughManager(org.pentaho.di.shared.SharedObjectsIO sharedObjectsIO, String type) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd the SharedObject to global or project specific file store(shared.xml) depending on the bowlvoidclear()Removes all sharedObjects for a typeprotected abstract TThis method is used to create concrete SharedObjectInterface implementation class.Get a single SharedObject by name.getAll()Get the list of SharedObjects based on the current bowlvoidRemove the provided databasevoidRemove the SharedObject
-
Constructor Details
-
Method Details
-
add
Description copied from interface:SharedObjectsManagementInterfaceAdd the SharedObject to global or project specific file store(shared.xml) depending on the bowl- Specified by:
addin interfaceSharedObjectsManagementInterface<T extends org.pentaho.di.shared.SharedObjectInterface<T> & org.pentaho.di.repository.RepositoryElementInterface>- Parameters:
object-- Throws:
org.pentaho.di.core.exception.KettleException
-
get
Description copied from interface:SharedObjectsManagementInterfaceGet a single SharedObject by name.- Specified by:
getin interfaceSharedObjectsManagementInterface<T extends org.pentaho.di.shared.SharedObjectInterface<T> & org.pentaho.di.repository.RepositoryElementInterface>- Parameters:
name- name of the SharedObject- Returns:
- SharedObjectInterface SharedObject instance
- Throws:
org.pentaho.di.core.exception.KettleException
-
getAll
Description copied from interface:SharedObjectsManagementInterfaceGet the list of SharedObjects based on the current bowl- Specified by:
getAllin interfaceSharedObjectsManagementInterface<T extends org.pentaho.di.shared.SharedObjectInterface<T> & org.pentaho.di.repository.RepositoryElementInterface>- Returns:
- List
Returns the list of DatabaseMeta - Throws:
org.pentaho.di.core.exception.KettleException
-
clear
public void clear() throws org.pentaho.di.core.exception.KettleExceptionDescription copied from interface:SharedObjectsManagementInterfaceRemoves all sharedObjects for a type- Specified by:
clearin interfaceSharedObjectsManagementInterface<T extends org.pentaho.di.shared.SharedObjectInterface<T> & org.pentaho.di.repository.RepositoryElementInterface>- Throws:
org.pentaho.di.core.exception.KettleException
-
remove
Description copied from interface:SharedObjectsManagementInterfaceRemove the SharedObject- Specified by:
removein interfaceSharedObjectsManagementInterface<T extends org.pentaho.di.shared.SharedObjectInterface<T> & org.pentaho.di.repository.RepositoryElementInterface>- Parameters:
object- SharedObject to remove- Throws:
org.pentaho.di.core.exception.KettleException
-
remove
Description copied from interface:SharedObjectsManagementInterfaceRemove the provided database- Specified by:
removein interfaceSharedObjectsManagementInterface<T extends org.pentaho.di.shared.SharedObjectInterface<T> & org.pentaho.di.repository.RepositoryElementInterface>- Parameters:
name- name of the SharedObject to remove- Throws:
org.pentaho.di.core.exception.KettleException