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 TypeMethodDescriptionboolean
accept
(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:PageObjectValidator
Check if this validator should be applied to given object- Specified by:
accept
in interfacePageObjectValidator
- Parameters:
pageObject
- page object to check- Returns:
- true if validator can be applied to the object
-
validate
Description copied from interface:PageObjectValidator
Validate an object- Specified by:
validate
in interfacePageObjectValidator
- Parameters:
pageObject
- page object to validate- Returns:
- set of validation error messages
-