Class RepoSerializer

java.lang.Object
org.pentaho.di.core.util.serialization.RepoSerializer

public class RepoSerializer extends Object
Writes/Reads StepMetaInterface to and from a Repository

Usage:

RepoSerializer .builder() .repo( repo ) .stepMeta( stepMeta ) .stepId( stepId ) .transId( transId ) .serialize();

Future enhancement could cover inclusion of Metastore and Databases for steps which need that info.

  • Method Details

    • builder

      public static RepoSerializer.Builder builder()
    • serialize

      public void serialize() throws org.pentaho.di.core.exception.KettleException
      Throws:
      org.pentaho.di.core.exception.KettleException
    • deserialize

      public void deserialize() throws org.pentaho.di.core.exception.KettleException
      Throws:
      org.pentaho.di.core.exception.KettleException