Class StepMetaProps
- java.lang.Object
-
- org.pentaho.di.core.util.serialization.StepMetaProps
-
public class StepMetaProps extends Object
A slim representation of StepMetaInterface properties, used as a way to leverage alternative serialization strategies (e.g.MetaXmlSerializerPublic methods allow conversion:
from(StepMetaInterface)andto(StepMetaInterface)Internally, the StepMetaProps holds a list of
StepMetaProps.PropGroupelements, each corresponding to a MetadataInjection group.InjectionDeep not yet supported.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StepMetaPropsfrom(StepMetaInterface stepMeta)Retuns an instance of this class with stepMeta properties mapped to a list ofStepMetaProps.PropGroupList<Object>getPropertyValue(String group, String property)StepMetaInterfaceto(StepMetaInterface stepMetaInterface)Sets the properties of this StepMetaProps on {@param stepMetaInterface}StringtoString()StepMetaPropswithVariables(org.pentaho.di.core.variables.VariableSpace space)Allows specifying a variable space to be used when applying property values to a stepMeta.
-
-
-
Method Detail
-
from
public static StepMetaProps from(StepMetaInterface stepMeta)
Retuns an instance of this class with stepMeta properties mapped to a list ofStepMetaProps.PropGroup
-
to
public StepMetaInterface to(StepMetaInterface stepMetaInterface)
Sets the properties of this StepMetaProps on {@param stepMetaInterface}This method mutates the stepMeta, as opposed to returning a new instance, to match more cleanly to Kettle's
StepMetaInterface.loadXML(org.w3c.dom.Node, java.util.List<org.pentaho.di.core.database.DatabaseMeta>, java.util.Map<java.lang.String, org.pentaho.di.core.Counter>)design, which loads props into an instance.
-
withVariables
public StepMetaProps withVariables(org.pentaho.di.core.variables.VariableSpace space)
Allows specifying a variable space to be used when applying property values to a stepMeta.
-
-