public class JobHasDescriptionImportRule extends BaseImportRule implements ImportRuleInterface
XML_TAG
Constructor and Description |
---|
JobHasDescriptionImportRule() |
Modifier and Type | Method and Description |
---|---|
int |
getMinLength() |
String |
getXML() |
void |
loadXML(Node ruleNode) |
void |
setMinLength(int minLength) |
String |
toString() |
List<ImportValidationFeedback> |
verifyRule(Object subject)
Validate the rule against a subject (transformation, job, database, ...)
|
clone, getCompositeClassName, getId, isEnabled, isUnique, setEnabled, setId
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, getCompositeClassName, getId, isEnabled, isUnique, setEnabled, setId
public String toString()
toString
in class BaseImportRule
public List<ImportValidationFeedback> verifyRule(Object subject)
ImportRuleInterface
verifyRule
in interface ImportRuleInterface
verifyRule
in class BaseImportRule
subject
- The subject to validate againstpublic int getMinLength()
public void setMinLength(int minLength)
minLength
- the minLength to setpublic String getXML()
getXML
in interface ImportRuleInterface
getXML
in class BaseImportRule
public void loadXML(Node ruleNode) throws KettleException
loadXML
in interface ImportRuleInterface
loadXML
in class BaseImportRule
KettleException
Copyright © 2018 Hitachi Vantara. All rights reserved.