Class ActionCommand
java.lang.Object
com.iohao.net.framework.core.ActionCommand
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainAnnotation(Class<? extends Annotation> annotationClass) Whether the action method contains the relevant annotation.<T extends Annotation>
TgetAnnotation(Class<T> annotationClass) Get the relevant annotation for the action method.boolean
-
Constructor Details
-
ActionCommand
public ActionCommand()
-
-
Method Details
-
hasDataParameter
public boolean hasDataParameter() -
getActionMethodName
-
containAnnotation
Whether the action method contains the relevant annotation.- Parameters:
annotationClass- The relevant annotation- Returns:
- true if it does
- Since:
- 21.10
-
getAnnotation
Get the relevant annotation for the action method.- Type Parameters:
T- t- Parameters:
annotationClass- The relevant annotation- Returns:
- The relevant annotation
- Since:
- 21.10
-