Package com.atlassian.bamboo.struts
Class StrutsActionHelper
java.lang.Object
com.atlassian.bamboo.struts.StrutsActionHelper
Copy of com.atlassian.bamboo.struts.StrutsActionHelper from Confluence main repo
Helper class for Struts actions.
- Since:
- 10.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Method
getActionClassMethod
(Class<?> actionClass, @Nullable String methodName) static @Nullable Method
getActionMethod
(Class<?> actionClass, @Nullable String methodName) Finds the action method on the action class.
-
Method Details
-
getActionMethod
public static @Nullable Method getActionMethod(Class<?> actionClass, @Nullable String methodName) throws NoSuchMethodException Finds the action method on the action class. This method followed the logic found inActionConfig
without the need to instantiate the action class.- Parameters:
actionClass
- The struts action classmethodName
- the name of the action method- Returns:
- Method - the action method named
methodName
- Throws:
NoSuchMethodException
- if the method namedmethodName
cannot be found
-
getActionClassMethod
-