Class ActionSender

  • All Implemented Interfaces:

    
    public final class ActionSender
    
                        

    Object that triggered the execution of action, such as an annotation or a form element.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Annotation getAnnotation() The annotation that triggered action execution.
      FormElement getFormElement() The form element that triggered action execution.
      int getPageIndex() The page index of this action sender.
      boolean equals(Object o)
      int hashCode()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ActionSender

        ActionSender(Annotation annotation)
        Creates instance of action sender.
        Parameters:
        annotation - The annotation that triggered action execution.
      • ActionSender

        ActionSender(FormElement formElement)
        Creates instance of action sender.
        Parameters:
        formElement - The form element that triggered action execution.
    • Method Detail

      • getAnnotation

        @Nullable() Annotation getAnnotation()

        The annotation that triggered action execution.

        Returns:

        The annotation that triggered action execution, null if action was not triggered by annotation.

      • getFormElement

        @Nullable() FormElement getFormElement()

        The form element that triggered action execution.

        Returns:

        The form element that triggered action execution, null if action was not triggered by form element.