Class ActionCommand

java.lang.Object
com.iohao.net.framework.core.ActionCommand

public final class ActionCommand extends Object
ActionCommand command object, also known as action. When the business framework handles business processes, that is, during the processing phase, it can obtain various desired information through the action.
Author:
渔民小镇
date:
2021-12-12
  • Constructor Details

    • ActionCommand

      public ActionCommand()
  • Method Details

    • hasDataParameter

      public boolean hasDataParameter()
    • getActionMethodName

      public String getActionMethodName()
    • containAnnotation

      public boolean containAnnotation(Class<? extends Annotation> annotationClass)
      Whether the action method contains the relevant annotation.
      Parameters:
      annotationClass - The relevant annotation
      Returns:
      true if it does
      Since:
      21.10
    • getAnnotation

      public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
      Get the relevant annotation for the action method.
      Type Parameters:
      T - t
      Parameters:
      annotationClass - The relevant annotation
      Returns:
      The relevant annotation
      Since:
      21.10