com.google.code.rees.scope.struts2
Class ActionUtil
java.lang.Object
com.google.code.rees.scope.struts2.ActionUtil
public class ActionUtil
- extends Object
- Author:
- rees.byars
|
Method Summary |
static Set<String> |
getActions(Class<?> actionClass)
makes a best effort using isAction(Method) to return all the action methods
from the given class - if the class does not follow conventions, then this may not
be an accurate set! Follow conventions! |
static boolean |
isAction(Method method)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionUtil
public ActionUtil()
isAction
public static boolean isAction(Method method)
- Parameters:
method -
- Returns:
- true if the method signature matches appears to be a Struts2 action method signature
getActions
public static Set<String> getActions(Class<?> actionClass)
- makes a best effort using
isAction(Method) to return all the action methods
from the given class - if the class does not follow conventions, then this may not
be an accurate set! Follow conventions!
- Parameters:
actionClass -
- Returns:
Copyright © 2012-2013. All Rights Reserved.