Package org.pentaho.di.ui.spoon
Class SharedObjectSyncUtil
java.lang.Object
org.pentaho.di.ui.spoon.SharedObjectSyncUtil
This utility provides methods for synchronization of kettle's shared objects.
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static interface
SharedObjectSyncUtil.SynchronizationHandler<T extends org.pentaho.di.shared.SharedObjectInterface>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteClusterSchema
(org.pentaho.di.cluster.ClusterSchema removed) void
deletePartitionSchema
(org.pentaho.di.partition.PartitionSchema removed) void
deleteSlaveServer
(org.pentaho.di.cluster.SlaveServer removed) void
reloadJobRepositoryObjects
(boolean includeActive) void
void
reloadTransformationRepositoryObjects
(boolean includeActive) void
synchronizeClusterSchemas
(org.pentaho.di.cluster.ClusterSchema clusterSchema) Synchronizes data fromclusterSchema
to shared cluster schemas.void
synchronizeClusterSchemas
(org.pentaho.di.cluster.ClusterSchema clusterSchema, String originalName) void
synchronizeConnections
(org.pentaho.di.core.database.DatabaseMeta database) void
synchronizeConnections
(org.pentaho.di.core.database.DatabaseMeta database, String originalName) Synchronizes data fromdatabase
to shared databases.void
synchronizePartitionSchemas
(org.pentaho.di.partition.PartitionSchema partitionSchema) Synchronizes data fromclusterSchema
to shared partition schemas.void
synchronizePartitionSchemas
(org.pentaho.di.partition.PartitionSchema partitionSchema, String originalName) void
synchronizeSlaveServers
(org.pentaho.di.cluster.SlaveServer slaveServer) Synchronizes data fromslaveServer
to shared slave servers.void
synchronizeSlaveServers
(org.pentaho.di.cluster.SlaveServer slaveServer, String originalName) void
synchronizeSteps
(org.pentaho.di.trans.step.StepMeta step) Synchronizes data fromclusterSchema
to shared steps.void
synchronizeSteps
(org.pentaho.di.trans.step.StepMeta step, String originalName)
-
Constructor Details
-
SharedObjectSyncUtil
-
-
Method Details
-
synchronizeConnections
public void synchronizeConnections(org.pentaho.di.core.database.DatabaseMeta database) -
synchronizeConnections
public void synchronizeConnections(org.pentaho.di.core.database.DatabaseMeta database, String originalName) Synchronizes data fromdatabase
to shared databases.- Parameters:
database
- data to share
-
synchronizeSlaveServers
public void synchronizeSlaveServers(org.pentaho.di.cluster.SlaveServer slaveServer) Synchronizes data fromslaveServer
to shared slave servers.- Parameters:
slaveServer
- data to share
-
synchronizeSlaveServers
public void synchronizeSlaveServers(org.pentaho.di.cluster.SlaveServer slaveServer, String originalName) -
deleteSlaveServer
public void deleteSlaveServer(org.pentaho.di.cluster.SlaveServer removed) -
deleteClusterSchema
public void deleteClusterSchema(org.pentaho.di.cluster.ClusterSchema removed) -
deletePartitionSchema
public void deletePartitionSchema(org.pentaho.di.partition.PartitionSchema removed) -
reloadTransformationRepositoryObjects
public void reloadTransformationRepositoryObjects(boolean includeActive) -
reloadJobRepositoryObjects
public void reloadJobRepositoryObjects(boolean includeActive) -
synchronizeClusterSchemas
public void synchronizeClusterSchemas(org.pentaho.di.cluster.ClusterSchema clusterSchema) Synchronizes data fromclusterSchema
to shared cluster schemas.- Parameters:
clusterSchema
- data to share
-
synchronizeClusterSchemas
public void synchronizeClusterSchemas(org.pentaho.di.cluster.ClusterSchema clusterSchema, String originalName) -
synchronizePartitionSchemas
public void synchronizePartitionSchemas(org.pentaho.di.partition.PartitionSchema partitionSchema) Synchronizes data fromclusterSchema
to shared partition schemas.- Parameters:
partitionSchema
- data to share
-
synchronizePartitionSchemas
public void synchronizePartitionSchemas(org.pentaho.di.partition.PartitionSchema partitionSchema, String originalName) -
synchronizeSteps
public void synchronizeSteps(org.pentaho.di.trans.step.StepMeta step) Synchronizes data fromclusterSchema
to shared steps.- Parameters:
step
- data to shares
-
synchronizeSteps
-