Class StepMetaProps
java.lang.Object
org.pentaho.di.core.util.serialization.StepMetaProps
A slim representation of StepMetaInterface properties, used as a
way to leverage alternative serialization strategies (e.g.
MetaXmlSerializer
Public methods allow conversion:
from(StepMetaInterface)
and
to(StepMetaInterface)
Internally, the StepMetaProps holds a list of StepMetaProps.PropGroup
elements, each corresponding
to a MetadataInjection group.
InjectionDeep not yet supported.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StepMetaProps
from
(StepMetaInterface stepMeta) Retuns an instance of this class with stepMeta properties mapped to a list ofStepMetaProps.PropGroup
getPropertyValue
(String group, String property) to
(StepMetaInterface stepMetaInterface) Sets the properties of this StepMetaProps ontoString()
withVariables
(org.pentaho.di.core.variables.VariableSpace space) Allows specifying a variable space to be used when applying property values to a stepMeta.
-
Method Details
-
from
Retuns an instance of this class with stepMeta properties mapped to a list ofStepMetaProps.PropGroup
-
to
Sets the properties of this StepMetaProps onThis 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
Allows specifying a variable space to be used when applying property values to a stepMeta. -
toString
-
getPropertyValue
-