Class ValidationsExecutor

java.lang.Object
com.shaft.validation.internal.ValidationsExecutor

public class ValidationsExecutor extends Object
  • Constructor Details

  • Method Details

    • withCustomReportMessage

      public ValidationsExecutor withCustomReportMessage(String customReportMessage)
      Set a customized business-readable message that will appear in the execution report instead of the technical log message which will be nested under it
      Parameters:
      customReportMessage - the message that you would like to describe this validation in the execution report
      Returns:
      the current ValidationsExecutor object so that you can call the "perform()" method and execute this validation
    • perform

      public void perform()
      Execute this validation