Package 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
-
Field Summary
Fields inherited from class org.pentaho.di.imp.rules.BaseImportRule
XML_TAG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetXML()voidvoidsetMinLength(int minLength) toString()verifyRule(Object subject) Validate the rule against a subject (transformation, job, database, ...)Methods inherited from class org.pentaho.di.imp.rules.BaseImportRule
clone, getCompositeClassName, getId, isEnabled, isUnique, setEnabled, setIdMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.pentaho.di.imp.rule.ImportRuleInterface
clone, getCompositeClassName, getId, isEnabled, isUnique, setEnabled, setId
-
Constructor Details
-
TransformationHasDescriptionImportRule
public TransformationHasDescriptionImportRule()
-
-
Method Details
-
toString
- Overrides:
toStringin classBaseImportRule
-
verifyRule
Description copied from interface:ImportRuleInterfaceValidate the rule against a subject (transformation, job, database, ...)- Specified by:
verifyRulein interfaceImportRuleInterface- Specified by:
verifyRulein classBaseImportRule- 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
- Specified by:
getXMLin interfaceImportRuleInterface- Overrides:
getXMLin classBaseImportRule
-
loadXML
- Specified by:
loadXMLin interfaceImportRuleInterface- Overrides:
loadXMLin classBaseImportRule- Throws:
org.pentaho.di.core.exception.KettleException
-