Class ActionControllerBothValidator
java.lang.Object
ru.cg.webbpm.studio.subsystems.ui_scripting.validation.impl.ActionControllerBothValidator
- All Implemented Interfaces:
PageObjectValidator
Checks that either old or new action controller is filled, not both
TODO WEBBPMNEXT-4781: remove once old ACs removed
- Author:
- krylov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(PageObject pageObject) Check if this validator should be applied to given objectvalidate(PageObject pageObject) Validate an object
-
Constructor Details
-
ActionControllerBothValidator
public ActionControllerBothValidator()
-
-
Method Details
-
accept
Description copied from interface:PageObjectValidatorCheck if this validator should be applied to given object- Specified by:
acceptin interfacePageObjectValidator- Parameters:
pageObject- page object to check- Returns:
- true if validator can be applied to the object
-
validate
Description copied from interface:PageObjectValidatorValidate an object- Specified by:
validatein interfacePageObjectValidator- Parameters:
pageObject- page object to validate- Returns:
- set of validation error messages
-