Package org.pentaho.di.shared
Class VariableSharingSharedObjectManager<T extends org.pentaho.di.shared.SharedObjectInterface<T> & org.pentaho.di.repository.RepositoryElementInterface & org.pentaho.di.core.variables.VariableSpace>
java.lang.Object
org.pentaho.di.shared.VariableSharingSharedObjectManager<T>
- All Implemented Interfaces:
SharedObjectsManagementInterface<T>
- Direct Known Subclasses:
VariableSharingClusterSchemaManager,VariableSharingDatabaseManager,VariableSharingSlaveServerManager
public class VariableSharingSharedObjectManager<T extends org.pentaho.di.shared.SharedObjectInterface<T> & org.pentaho.di.repository.RepositoryElementInterface & org.pentaho.di.core.variables.VariableSpace>
extends Object
implements SharedObjectsManagementInterface<T>
This Manager wraps another manager and shares variables with all SharedObjects retrieved from the parent manager.
-
Constructor Summary
ConstructorsConstructorDescriptionVariableSharingSharedObjectManager(org.pentaho.di.core.variables.VariableSpace variables, SharedObjectsManagementInterface<T> parent) -
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 typeGet 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 & org.pentaho.di.core.variables.VariableSpace>- 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 & org.pentaho.di.core.variables.VariableSpace>- 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 & org.pentaho.di.core.variables.VariableSpace>- 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 & org.pentaho.di.core.variables.VariableSpace>- 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 & org.pentaho.di.core.variables.VariableSpace>- 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 & org.pentaho.di.core.variables.VariableSpace>- Parameters:
name- name of the SharedObject to remove- Throws:
org.pentaho.di.core.exception.KettleException
-