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 ImportRuleInterface
clone
in class Object
public boolean isUnique()
isUnique
in interface ImportRuleInterface
public abstract List<ImportValidationFeedback> verifyRule(Object subject)
ImportRuleInterface
verifyRule
in interface ImportRuleInterface
subject
- The subject to validate againstpublic String getXML()
getXML
in interface ImportRuleInterface
public void loadXML(Node ruleNode) throws KettleException
loadXML
in interface ImportRuleInterface
KettleException
public boolean isEnabled()
isEnabled
in interface ImportRuleInterface
public void setEnabled(boolean enabled)
setEnabled
in interface ImportRuleInterface
enabled
- the enabled to setpublic String getId()
getId
in interface ImportRuleInterface
public void setId(String id)
setId
in interface ImportRuleInterface
id
- the id to setpublic String getCompositeClassName()
getCompositeClassName
in interface ImportRuleInterface
Copyright © 2018 Hitachi Vantara. All rights reserved.