org.pentaho.di.imp.rule
Class ImportValidationFeedback

java.lang.Object
  extended by org.pentaho.di.imp.rule.ImportValidationFeedback

public class ImportValidationFeedback
extends Object


Constructor Summary
ImportValidationFeedback(ImportRuleInterface importRule, ImportValidationResultType resultType, String comment)
           
 
Method Summary
 String getComment()
           
static List<ImportValidationFeedback> getErrors(List<ImportValidationFeedback> feedback)
           
 ImportRuleInterface getImportRule()
           
 ImportValidationResultType getResultType()
           
 boolean isApproval()
           
 boolean isError()
           
 void setComment(String comment)
           
 void setImportRule(ImportRuleInterface importRule)
           
 void setResultType(ImportValidationResultType resultType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportValidationFeedback

public ImportValidationFeedback(ImportRuleInterface importRule,
                                ImportValidationResultType resultType,
                                String comment)
Parameters:
resultType -
comment -
Method Detail

getErrors

public static List<ImportValidationFeedback> getErrors(List<ImportValidationFeedback> feedback)

toString

public String toString()
Overrides:
toString in class Object

getResultType

public ImportValidationResultType getResultType()
Returns:
the resultType

isError

public boolean isError()

isApproval

public boolean isApproval()

setResultType

public void setResultType(ImportValidationResultType resultType)
Parameters:
resultType - the resultType to set

getComment

public String getComment()
Returns:
the comment

setComment

public void setComment(String comment)
Parameters:
comment - the comment to set

getImportRule

public ImportRuleInterface getImportRule()
Returns:
the importRule

setImportRule

public void setImportRule(ImportRuleInterface importRule)
Parameters:
importRule - the importRule to set