Package org.pentaho.di.core
Interface CheckResultInterface
- All Known Implementing Classes:
CheckResult
public interface CheckResultInterface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Method Summary
-
Field Details
-
TYPE_RESULT_NONE
static final int TYPE_RESULT_NONE- See Also:
-
TYPE_RESULT_OK
static final int TYPE_RESULT_OK- See Also:
-
TYPE_RESULT_COMMENT
static final int TYPE_RESULT_COMMENT- See Also:
-
TYPE_RESULT_WARNING
static final int TYPE_RESULT_WARNING- See Also:
-
TYPE_RESULT_ERROR
static final int TYPE_RESULT_ERROR- See Also:
-
-
Method Details
-
getType
int getType()- Returns:
- The type of the Check Result (0-4)
-
getTypeDesc
String getTypeDesc()- Returns:
- The internationalized type description
-
getText
String getText()- Returns:
- The text of the check result.
-
getSourceInfo
CheckResultSourceInterface getSourceInfo()- Returns:
- The source of the check result
-
toString
String toString() -
getErrorCode
String getErrorCode()- Returns:
- The component-specific result code.
-
setErrorCode
Sets the component-specific result/error code.- Parameters:
errorCode
- Unchecked string that can be used for validation
-
setType
void setType(int value) Sets the check-result type- Parameters:
value
- The type from 0-4
-
setText
Sets the text for the check-result- Parameters:
value
-
-