org.pentaho.di.imp.rules
Class JobHasJobLogConfiguredImportRule

java.lang.Object
  extended by org.pentaho.di.imp.rules.BaseImportRule
      extended by org.pentaho.di.imp.rules.JobHasJobLogConfiguredImportRule
All Implemented Interfaces:
Cloneable, ImportRuleInterface

public class JobHasJobLogConfiguredImportRule
extends BaseImportRule
implements ImportRuleInterface

This rule verifies that a job contains a certain job log table configuration.

Author:
matt

Field Summary
 
Fields inherited from class org.pentaho.di.imp.rules.BaseImportRule
XML_TAG
 
Constructor Summary
JobHasJobLogConfiguredImportRule()
           
 
Method Summary
 String getConnectionName()
           
 String getSchemaName()
           
 String getTableName()
           
 String getXML()
           
 void loadXML(Node ruleNode)
           
 void setConnectionName(String connectionName)
           
 void setSchemaName(String schemaName)
           
 void setTableName(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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.pentaho.di.imp.rule.ImportRuleInterface
clone, getCompositeClassName, getId, isEnabled, isUnique, setEnabled, setId
 

Constructor Detail

JobHasJobLogConfiguredImportRule

public JobHasJobLogConfiguredImportRule()
Method Detail

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