Package io.jmix.flowui.action.impl
Class ActionHandlerValidator
java.lang.Object
io.jmix.flowui.action.impl.ActionHandlerValidator
Helper class that checks whether handlers set for an action are appropriate for the given open mode.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvalidate(CreateAction<?> action, OpenMode openMode) Checks whether handlers set for the action are appropriate for the given open mode.static voidvalidate(EditAction<?> action, OpenMode openMode) Checks whether handlers set for the action are appropriate for the given open mode.static voidvalidate(ReadAction<?> action, OpenMode openMode) Checks whether handlers set for the action are appropriate for the given open mode.static voidvalidate(ViewOpeningAction action, OpenMode openMode) Checks whether handlers set for the action are appropriate for the given open mode.
-
Constructor Details
-
ActionHandlerValidator
public ActionHandlerValidator()
-
-
Method Details
-
validate
Checks whether handlers set for the action are appropriate for the given open mode.Prints warnings to the log.
-
validate
Checks whether handlers set for the action are appropriate for the given open mode.Prints warnings to the log.
-
validate
Checks whether handlers set for the action are appropriate for the given open mode.Prints warnings to the log.
-
validate
Checks whether handlers set for the action are appropriate for the given open mode.Prints warnings to the log.
-