Package org.pentaho.di.ui.spoon
Class SharedObjectSyncUtil
- java.lang.Object
-
- org.pentaho.di.ui.spoon.SharedObjectSyncUtil
-
public class SharedObjectSyncUtil extends Object
This utility provides methods for synchronization of kettle's shared objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interface
SharedObjectSyncUtil.SynchronizationHandler<T extends org.pentaho.di.shared.SharedObjectInterface>
-
Constructor Summary
Constructors Constructor Description SharedObjectSyncUtil(Spoon spoon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
reloadSharedObjects()
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 Detail
-
SharedObjectSyncUtil
public SharedObjectSyncUtil(Spoon spoon)
-
-
Method Detail
-
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)
-
reloadSharedObjects
public void reloadSharedObjects()
-
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
public void synchronizeSteps(org.pentaho.di.trans.step.StepMeta step, String originalName)
-
-