Executablepublic class MethodAction extends AbstractAction
Created: 2016. 2. 9.
parent| Constructor | Description |
|---|---|
MethodAction(MethodActionRule methodActionRule,
ActionList parent) |
Instantiates a new MethodAction.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
execute(Activity activity) |
Execute this action.
|
java.lang.String |
getActionId() |
Gets the action id.
|
<T> T |
getActionRule() |
Gets the action rule.
|
ActionType |
getActionType() |
Gets the Action Type.
|
MethodActionRule |
getMethodActionRule() |
Returns the method action rule.
|
ActionList |
getParent() |
Gets the action list.
|
static java.lang.Object |
invokeMethod(Activity activity,
java.lang.Object bean,
java.lang.reflect.Method method,
boolean requiresTranslet) |
|
boolean |
isHidden() |
Returns whether this action is hidden.
|
java.lang.String |
toString() |
public MethodAction(MethodActionRule methodActionRule, ActionList parent)
methodActionRule - the method action ruleparent - the parent of this actionpublic java.lang.Object execute(Activity activity) throws java.lang.Exception
Executableactivity - the activityjava.lang.Exception - the exceptionActionExecutionException - the action execution exceptionpublic static java.lang.Object invokeMethod(Activity activity, java.lang.Object bean, java.lang.reflect.Method method, boolean requiresTranslet) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionpublic MethodActionRule getMethodActionRule()
public ActionList getParent()
ExecutablegetParent in interface ExecutablegetParent in class AbstractActionpublic java.lang.String getActionId()
ExecutablegetActionId in interface ExecutablegetActionId in class AbstractActionpublic boolean isHidden()
Executablepublic ActionType getActionType()
Executablepublic <T> T getActionRule()
ExecutableT - the generic typepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2018 The Aspectran Project. All rights reserved.