Class MappingParameters
java.lang.Object
org.pentaho.di.trans.steps.mapping.MappingParameters
- All Implemented Interfaces:
Cloneable
We need out mapping to be parameterized.
This we do with the use of environment variables.
That way we can set one variable to another, etc.
This we do with the use of environment variables.
That way we can set one variable to another, etc.
- Since:
- 2007-06-27
- Version:
- 3.0
- Author:
- matt
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMappingParameters(Repository rep, org.pentaho.di.repository.ObjectId id_step) MappingParameters(Node paramNode) -
Method Summary
Modifier and TypeMethodDescriptionclone()String[]String[]getXML()booleanvoidsaveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step) voidsetInheritingAllVariables(boolean inheritingAllVariables) voidsetInputField(String[] inputField) voidsetVariable(String[] variable)
-
Field Details
-
XML_TAG
- See Also:
-
-
Constructor Details
-
MappingParameters
public MappingParameters() -
MappingParameters
-
MappingParameters
public MappingParameters(Repository rep, org.pentaho.di.repository.ObjectId id_step) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
-
Method Details
-
clone
-
getXML
-
saveRep
public void saveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
getInputField
- Returns:
- the inputField
-
setInputField
- Parameters:
inputField- the inputField to set
-
getVariable
- Returns:
- the variable
-
setVariable
- Parameters:
variable- the variable to set
-
isInheritingAllVariables
public boolean isInheritingAllVariables()- Returns:
- the inheritingAllVariables
-
setInheritingAllVariables
public void setInheritingAllVariables(boolean inheritingAllVariables) - Parameters:
inheritingAllVariables- the inheritingAllVariables to set
-