public interface ImportRuleInterface extends Cloneable
Modifier and Type | Method and Description |
---|---|
ImportRuleInterface |
clone() |
String |
getCompositeClassName() |
String |
getId() |
String |
getXML() |
boolean |
isEnabled() |
boolean |
isUnique() |
void |
loadXML(Node ruleNode) |
void |
setEnabled(boolean enabled) |
void |
setId(String string) |
List<ImportValidationFeedback> |
verifyRule(Object subject)
Validate the rule against a subject (transformation, job, database, ...)
|
String getId()
void setId(String string)
string
- Sets the plugin ID of this import ruleList<ImportValidationFeedback> verifyRule(Object subject)
subject
- The subject to validate againstboolean isEnabled()
void setEnabled(boolean enabled)
enabled
- Enables or disables this rule. When a rule is not enabled it will not be looked at. Neither an approval nor an error will be given during validation.boolean isUnique()
void loadXML(Node ruleNode) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
String getXML()
String getCompositeClassName()
ImportRuleInterface clone()