Package com.shaft.validation
Class ValidationsExecutor
java.lang.Object
com.shaft.validation.ValidationsExecutor
-
Constructor Summary
ConstructorDescriptionValidationsExecutor
(FileValidationsBuilder fileValidationsBuilder) ValidationsExecutor
(NativeValidationsBuilder nativeValidationsBuilder) ValidationsExecutor
(NumberValidationsBuilder numberValidationsBuilder) ValidationsExecutor
(RestValidationsBuilder restValidationsBuilder) ValidationsExecutor
(ValidationsBuilder validationsBuilder) ValidationsExecutor
(WebDriverElementValidationsBuilder webDriverElementValidationsBuilder) -
Method Summary
Modifier and TypeMethodDescriptionvoid
perform()
Execute this validationwithCustomReportMessage
(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
-
Constructor Details
-
ValidationsExecutor
-
ValidationsExecutor
-
ValidationsExecutor
-
ValidationsExecutor
-
ValidationsExecutor
-
ValidationsExecutor
-
-
Method Details
-
withCustomReportMessage
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
-