org.pentaho.di.imp.rule
Class ImportValidationFeedback
java.lang.Object
org.pentaho.di.imp.rule.ImportValidationFeedback
public class ImportValidationFeedback
- extends Object
ImportValidationFeedback
public ImportValidationFeedback(ImportRuleInterface importRule,
ImportValidationResultType resultType,
String comment)
- Parameters:
resultType
- comment
-
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