示例#1
0
 /**
  * {@inheritDoc}
  *
  * @see org.pentaho.di.trans.step.StepMetaInterface#readRep(org.pentaho.di.repository.Repository,
  *     long, java.util.List, java.util.Map)
  */
 public void readRep(
     final Repository repo,
     final ObjectId stepId,
     final List<DatabaseMeta> databaseList,
     final Map<String, Counter> counters)
     throws KettleException {
   PluginPropertyHandler.walk(this.getProperties(), new ReadFromRepository(repo, stepId));
   initDbMeta(databaseList);
 }
 /**
  * {@inheritDoc}
  *
  * @see org.pentaho.di.trans.step.StepMetaInterface#saveRep(org.pentaho.di.repository.Repository,
  *     long, long)
  */
 public void saveRep(
     final Repository repo,
     final IMetaStore metaStore,
     final ObjectId transformationId,
     final ObjectId stepId)
     throws KettleException {
   final SaveToRepository handler =
       new SaveToRepository(repo, metaStore, transformationId, stepId);
   PluginPropertyHandler.walk(this.getProperties(), handler);
 }
 /**
  * {@inheritDoc}
  *
  * @see org.pentaho.di.trans.step.StepMetaInterface#readRep(org.pentaho.di.repository.Repository,
  *     long, java.util.List, java.util.Map)
  */
 public void readRep(
     final Repository repo,
     final IMetaStore metaStore,
     final ObjectId stepId,
     final List<DatabaseMeta> databaseList)
     throws KettleException {
   PluginPropertyHandler.walk(
       this.getProperties(), new ReadFromRepository(repo, metaStore, stepId));
   initDbMeta(databaseList);
 }
 /**
  * {@inheritDoc}
  *
  * @see org.pentaho.di.trans.step.BaseStepMeta#getXML()
  */
 @Override
 public String getXML() throws KettleException {
   return PluginPropertyHandler.toXml(this.getProperties());
 }