Package org.pentaho.di.imp.rule
Class ImportValidationFeedback
- java.lang.Object
-
- org.pentaho.di.imp.rule.ImportValidationFeedback
-
public class ImportValidationFeedback extends Object
-
-
Constructor Summary
Constructors Constructor Description ImportValidationFeedback(ImportRuleInterface importRule, ImportValidationResultType resultType, String comment)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComment()static List<ImportValidationFeedback>getErrors(List<ImportValidationFeedback> feedback)ImportRuleInterfacegetImportRule()ImportValidationResultTypegetResultType()booleanisApproval()booleanisError()voidsetComment(String comment)voidsetImportRule(ImportRuleInterface importRule)voidsetResultType(ImportValidationResultType resultType)StringtoString()
-
-
-
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)
-
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
-
-