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
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
validate
(CreateAction<?> action, OpenMode openMode) Checks whether handlers set for the action are appropriate for the given open mode.static void
validate
(EditAction<?> action, OpenMode openMode) Checks whether handlers set for the action are appropriate for the given open mode.static void
validate
(ReadAction<?> action, OpenMode openMode) Checks whether handlers set for the action are appropriate for the given open mode.static void
validate
(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.
-