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.MetaXmlSerializer
Public methods allow conversion:
from(StepMetaInterface)
andto(StepMetaInterface)
Internally, the StepMetaProps holds a list of
StepMetaProps.PropGroup
elements, 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 StepMetaProps
from(StepMetaInterface stepMeta)
Retuns an instance of this class with stepMeta properties mapped to a list ofStepMetaProps.PropGroup
List<Object>
getPropertyValue(String group, String property)
StepMetaInterface
to(StepMetaInterface stepMetaInterface)
Sets the properties of this StepMetaProps on {@param stepMetaInterface}String
toString()
StepMetaProps
withVariables(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.
-
-