Package org.pentaho.di.core
Interface CheckResultInterface
-
- All Known Implementing Classes:
CheckResult
public interface CheckResultInterface
-
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_RESULT_COMMENT
static int
TYPE_RESULT_ERROR
static int
TYPE_RESULT_NONE
static int
TYPE_RESULT_OK
static int
TYPE_RESULT_WARNING
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getErrorCode()
CheckResultSourceInterface
getSourceInfo()
String
getText()
int
getType()
String
getTypeDesc()
void
setErrorCode(String errorCode)
Sets the component-specific result/error code.void
setText(String value)
Sets the text for the check-resultvoid
setType(int value)
Sets the check-result typeString
toString()
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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
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
-
-
-