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 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()
-
-
-
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
-
-