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
TransformationHasTransLogConfiguredImportRule
public TransformationHasTransLogConfiguredImportRule()
verifyRule
public List<ImportValidationFeedback> verifyRule(Object subject)
- Description copied from interface:
ImportRuleInterface
- Validate the rule against a subject (transformation, job, database, ...)
- Specified by:
verifyRule
in interface ImportRuleInterface
- Specified by:
verifyRule
in class BaseImportRule
- 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:
getXML
in interface ImportRuleInterface
- Overrides:
getXML
in class BaseImportRule
loadXML
public void loadXML(Node ruleNode)
throws KettleException
- Specified by:
loadXML
in interface ImportRuleInterface
- Overrides:
loadXML
in class BaseImportRule
- Throws:
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