org.pentaho.di.imp.rules
Class DatabaseConfigurationImportRule
java.lang.Object
  
org.pentaho.di.imp.rules.BaseImportRule
      
org.pentaho.di.imp.rules.DatabaseConfigurationImportRule
- All Implemented Interfaces: 
 - Cloneable, ImportRuleInterface
 
public class DatabaseConfigurationImportRule
- extends BaseImportRule
- implements ImportRuleInterface
  
 
 
 
 
 
 
 
DatabaseConfigurationImportRule
public DatabaseConfigurationImportRule()
isUnique
public boolean isUnique()
- Specified by:
 isUnique in interface ImportRuleInterface- Overrides:
 isUnique in class BaseImportRule
 
- Returns:
 - true if only one rule is needed in a whole set of rules. Adding another would not help.
 Returns false in case you can add this rule multiple times with different settings.
 
 
clone
public ImportRuleInterface clone()
- Specified by:
 clone in interface ImportRuleInterface- Overrides:
 clone in class BaseImportRule
 
 
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 org.pentaho.di.core.exception.KettleException
- Specified by:
 loadXML in interface ImportRuleInterface- Overrides:
 loadXML in class BaseImportRule
 
- Throws:
 org.pentaho.di.core.exception.KettleException
 
getDatabaseMeta
public org.pentaho.di.core.database.DatabaseMeta getDatabaseMeta()
 
- Returns:
 - the databaseMeta
 
 
setDatabaseMeta
public void setDatabaseMeta(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
 
- Parameters:
 databaseMeta - the databaseMeta to set