public abstract class BaseImportRule extends Object implements ImportRuleInterface
| Constructor and Description |
|---|
BaseImportRule() |
| Modifier and Type | Method and Description |
|---|---|
ImportRuleInterface |
clone() |
String |
getCompositeClassName()
This returns the expected name for the composite that allows a base import rule to be edited.
|
String |
getId() |
String |
getXML() |
boolean |
isEnabled() |
boolean |
isUnique() |
void |
loadXML(Node ruleNode) |
void |
setEnabled(boolean enabled) |
void |
setId(String id) |
String |
toString() |
abstract List<ImportValidationFeedback> |
verifyRule(Object subject)
Validate the rule against a subject (transformation, job, database, ...)
|
public static String XML_TAG
public ImportRuleInterface clone()
clone in interface ImportRuleInterfaceclone in class Objectpublic boolean isUnique()
isUnique in interface ImportRuleInterfacepublic abstract List<ImportValidationFeedback> verifyRule(Object subject)
ImportRuleInterfaceverifyRule in interface ImportRuleInterfacesubject - The subject to validate againstpublic String getXML()
getXML in interface ImportRuleInterfacepublic void loadXML(Node ruleNode) throws KettleException
loadXML in interface ImportRuleInterfaceKettleExceptionpublic boolean isEnabled()
isEnabled in interface ImportRuleInterfacepublic void setEnabled(boolean enabled)
setEnabled in interface ImportRuleInterfaceenabled - the enabled to setpublic String getId()
getId in interface ImportRuleInterfacepublic void setId(String id)
setId in interface ImportRuleInterfaceid - the id to setpublic String getCompositeClassName()
getCompositeClassName in interface ImportRuleInterfaceCopyright © 2018 Hitachi Vantara. All rights reserved.