Class ActionHandlerValidator

java.lang.Object
io.jmix.flowui.action.impl.ActionHandlerValidator

public class ActionHandlerValidator extends Object
Helper class that checks whether handlers set for an action are appropriate for the given open mode.
  • Constructor Details

    • ActionHandlerValidator

      public ActionHandlerValidator()
  • Method Details

    • validate

      public static void validate(ViewOpeningAction action, OpenMode openMode)
      Checks whether handlers set for the action are appropriate for the given open mode.

      Prints warnings to the log.

    • validate

      public static void validate(CreateAction<?> action, OpenMode openMode)
      Checks whether handlers set for the action are appropriate for the given open mode.

      Prints warnings to the log.

    • validate

      public static void validate(EditAction<?> action, OpenMode openMode)
      Checks whether handlers set for the action are appropriate for the given open mode.

      Prints warnings to the log.

    • validate

      public static void validate(ReadAction<?> action, OpenMode openMode)
      Checks whether handlers set for the action are appropriate for the given open mode.

      Prints warnings to the log.