Search in sources :

Example 1 with ResolvableResource

use of org.pentaho.di.workarounds.ResolvableResource in project pentaho-kettle by pentaho.

the class TransMetaConverter method resolveStepMetaResources.

private static void resolveStepMetaResources(TransMeta transMeta) {
    for (StepMeta stepMeta : transMeta.getSteps()) {
        StepMetaInterface smi = stepMeta.getStepMetaInterface();
        if (smi instanceof ResolvableResource) {
            ResolvableResource resolvableMeta = (ResolvableResource) smi;
            resolvableMeta.resolve();
        }
    }
}
Also used : StepMetaInterface(org.pentaho.di.trans.step.StepMetaInterface) StepMeta(org.pentaho.di.trans.step.StepMeta) ResolvableResource(org.pentaho.di.workarounds.ResolvableResource)

Aggregations

StepMeta (org.pentaho.di.trans.step.StepMeta)1 StepMetaInterface (org.pentaho.di.trans.step.StepMetaInterface)1 ResolvableResource (org.pentaho.di.workarounds.ResolvableResource)1