org.pentaho.di.imp.rules
Class TransformationHasDescriptionImportRule
java.lang.Object
org.pentaho.di.imp.rules.BaseImportRule
org.pentaho.di.imp.rules.TransformationHasDescriptionImportRule
- All Implemented Interfaces:
- Cloneable, ImportRuleInterface
public class TransformationHasDescriptionImportRule
- extends BaseImportRule
- implements ImportRuleInterface
TransformationHasDescriptionImportRule
public TransformationHasDescriptionImportRule()
toString
public String toString()
- Overrides:
toString
in class BaseImportRule
verifyRule
public List<ImportValidationFeedback> verifyRule(Object subject)
- Description copied from interface:
ImportRuleInterface
- Validate the rule against a subject (transformation, job, database, ...)
- Specified by:
verifyRule
in interface ImportRuleInterface
- Specified by:
verifyRule
in class BaseImportRule
- Parameters:
subject
- The subject to validate against
- Returns:
- The feedback list consists of a series of approvals and/or warnings and/or errors.
getMinLength
public int getMinLength()
- Returns:
- the minLength
setMinLength
public void setMinLength(int minLength)
- Parameters:
minLength
- the minLength to set
getXML
public String getXML()
- Specified by:
getXML
in interface ImportRuleInterface
- Overrides:
getXML
in class BaseImportRule
loadXML
public void loadXML(Node ruleNode)
throws KettleException
- Specified by:
loadXML
in interface ImportRuleInterface
- Overrides:
loadXML
in class BaseImportRule
- Throws:
KettleException