Class CheckResult

java.lang.Object
com.seeq.link.sdk.utilities.CheckResult

public class CheckResult extends Object
Object that may be used by a Datasource client for sending the monitor results to the connection class.
  • Constructor Details

    • CheckResult

      public CheckResult(boolean success, String failMessage)
      Creates a CheckResult 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

      public String getFailMessage()
    • buildFailure

      @NotNull public static CheckResult buildFailure(String failMessage)
      Builds a failure CheckResponse object with a failMessage.
    • buildSuccess

      @NotNull public static CheckResult buildSuccess()
      Builds a success CheckResponse object having no failMessage.