org.pentaho.di.core
Interface CheckResultInterface
- All Known Implementing Classes:
- CheckResult
public interface CheckResultInterface
TYPE_RESULT_NONE
static final int TYPE_RESULT_NONE
- See Also:
- Constant Field Values
TYPE_RESULT_OK
static final int TYPE_RESULT_OK
- See Also:
- Constant Field Values
TYPE_RESULT_COMMENT
static final int TYPE_RESULT_COMMENT
- See Also:
- Constant Field Values
TYPE_RESULT_WARNING
static final int TYPE_RESULT_WARNING
- See Also:
- Constant Field Values
TYPE_RESULT_ERROR
static final int TYPE_RESULT_ERROR
- See Also:
- Constant Field Values
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()
- Overrides:
toString
in class Object
- Returns:
- String description of the check result
getErrorCode
String getErrorCode()
- Returns:
- The component-specific result code.
setErrorCode
void setErrorCode(String errorCode)
- 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
void setText(String value)
- Sets the text for the check-result
- Parameters:
value
-