Package org.pentaho.di.core
Class CheckResult
java.lang.Object
org.pentaho.di.core.CheckResult
- All Implemented Interfaces:
CheckResultInterface
This class is used to store results of transformation and step verifications.
- Since:
- 11-01-04
- Author:
- Matt
-
Field Summary
Fields inherited from interface org.pentaho.di.core.CheckResultInterface
TYPE_RESULT_COMMENT, TYPE_RESULT_ERROR, TYPE_RESULT_NONE, TYPE_RESULT_OK, TYPE_RESULT_WARNING
-
Constructor Summary
ConstructorDescriptionCheckResult
(int t, String errorCode, String s, CheckResultSourceInterface sourceMeta) CheckResult
(int t, String s, CheckResultSourceInterface sourceMeta) -
Method Summary
-
Field Details
-
typeDesc
-
-
Constructor Details
-
CheckResult
public CheckResult() -
CheckResult
-
CheckResult
-
-
Method Details
-
getType
public int getType()- Specified by:
getType
in interfaceCheckResultInterface
- Returns:
- The type of the Check Result (0-4)
-
getTypeDesc
- Specified by:
getTypeDesc
in interfaceCheckResultInterface
- Returns:
- The internationalized type description
-
getText
- Specified by:
getText
in interfaceCheckResultInterface
- Returns:
- The text of the check result.
-
getSourceInfo
- Specified by:
getSourceInfo
in interfaceCheckResultInterface
- Returns:
- The source of the check result
-
toString
- Specified by:
toString
in interfaceCheckResultInterface
- Overrides:
toString
in classObject
- Returns:
- String description of the check result
-
getErrorCode
- Specified by:
getErrorCode
in interfaceCheckResultInterface
- Returns:
- the errorCode
-
setErrorCode
Description copied from interface:CheckResultInterface
Sets the component-specific result/error code.- Specified by:
setErrorCode
in interfaceCheckResultInterface
- Parameters:
errorCode
- the errorCode to set
-
setText
Description copied from interface:CheckResultInterface
Sets the text for the check-result- Specified by:
setText
in interfaceCheckResultInterface
-
setType
public void setType(int value) Description copied from interface:CheckResultInterface
Sets the check-result type- Specified by:
setType
in interfaceCheckResultInterface
- Parameters:
value
- The type from 0-4
-