Package org.pentaho.di.imp.rules
Class TransformationHasTransLogConfiguredImportRule
- java.lang.Object
-
- org.pentaho.di.imp.rules.BaseImportRule
-
- org.pentaho.di.imp.rules.TransformationHasTransLogConfiguredImportRule
-
- All Implemented Interfaces:
Cloneable,ImportRuleInterface
public class TransformationHasTransLogConfiguredImportRule extends BaseImportRule implements ImportRuleInterface
This rule verifies that a transformation contains a certain transformation log table configuration.- Author:
- matt
-
-
Field Summary
-
Fields inherited from class org.pentaho.di.imp.rules.BaseImportRule
XML_TAG
-
-
Constructor Summary
Constructors Constructor Description TransformationHasTransLogConfiguredImportRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConnectionName()StringgetSchemaName()StringgetTableName()StringgetXML()voidloadXML(Node ruleNode)voidsetConnectionName(String connectionName)voidsetSchemaName(String schemaName)voidsetTableName(String tableName)List<ImportValidationFeedback>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, setId, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.pentaho.di.imp.rule.ImportRuleInterface
clone, getCompositeClassName, getId, isEnabled, isUnique, setEnabled, setId
-
-
-
-
Method Detail
-
verifyRule
public List<ImportValidationFeedback> verifyRule(Object subject)
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.
-
getXML
public String getXML()
- Specified by:
getXMLin interfaceImportRuleInterface- Overrides:
getXMLin classBaseImportRule
-
loadXML
public void loadXML(Node ruleNode) throws org.pentaho.di.core.exception.KettleException
- Specified by:
loadXMLin interfaceImportRuleInterface- Overrides:
loadXMLin classBaseImportRule- Throws:
org.pentaho.di.core.exception.KettleException
-
getSchemaName
public String getSchemaName()
- Returns:
- the schemaName
-
setSchemaName
public void setSchemaName(String schemaName)
- Parameters:
schemaName- the schemaName to set
-
getTableName
public String getTableName()
- Returns:
- the tableName
-
setTableName
public void setTableName(String tableName)
- Parameters:
tableName- the tableName to set
-
getConnectionName
public String getConnectionName()
- Returns:
- the connectionName
-
setConnectionName
public void setConnectionName(String connectionName)
- Parameters:
connectionName- the connectionName to set
-
-