Package com.seeq.link.sdk.utilities
Class CheckResult
java.lang.Object
com.seeq.link.sdk.utilities.CheckResult
Object that may be used by a Datasource client for sending the
monitor results to the connection class.
-
Constructor Summary
ConstructorsConstructorDescriptionCheckResult
(boolean success, String failMessage) Creates aCheckResult
object. -
Method Summary
Modifier and TypeMethodDescriptionstatic CheckResult
buildFailure
(String failMessage) Builds a failure CheckResponse object with a failMessage.static CheckResult
Builds a success CheckResponse object having no failMessage.boolean
-
Constructor Details
-
CheckResult
Creates aCheckResult
object. When success parameter is true the failMessage is discarded. When success parameter is false the failMessage is stored in the object.
-
-
Method Details
-
isSuccess
public boolean isSuccess() -
getFailMessage
-
buildFailure
Builds a failure CheckResponse object with a failMessage. -
buildSuccess
Builds a success CheckResponse object having no failMessage.
-