public static class ActionProxy.LegacyAdapter extends Object implements ActionProxy
ActionProxy.LegacyAdapter
Modifier and Type | Method and Description |
---|---|
String |
execute()
Execute this ActionProxy.
|
Object |
getAction()
Gets the Action instance for this Proxy.
|
String |
getActionName()
Gets the alias name this ActionProxy is mapped to.
|
ActionConfig |
getConfig()
Gets the ActionConfig this ActionProxy is built from.
|
boolean |
getExecuteResult()
Gets the status of whether the ActionProxy is set to execute the Result after the Action is executed.
|
ActionInvocation |
getInvocation() |
String |
getMethod()
Gets the method name to execute, or null if no method has been specified (meaning
execute will be invoked). |
String |
getNamespace()
Gets the namespace the ActionConfig for this ActionProxy is mapped to.
|
boolean |
isMethodSpecified()
Gets status of the method value's initialization.
|
void |
setExecuteResult(boolean executeResult)
Sets whether this ActionProxy should also execute the Result after executing the Action.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adapt
public Object getAction()
ActionProxy
getAction
in interface ActionProxy
public String getActionName()
ActionProxy
getActionName
in interface ActionProxy
public ActionConfig getConfig()
ActionProxy
getConfig
in interface ActionProxy
public void setExecuteResult(boolean executeResult)
ActionProxy
setExecuteResult
in interface ActionProxy
executeResult
- true to also execute the Result.public boolean getExecuteResult()
ActionProxy
getExecuteResult
in interface ActionProxy
public ActionInvocation getInvocation()
getInvocation
in interface ActionProxy
public String getNamespace()
ActionProxy
getNamespace
in interface ActionProxy
public String execute() throws Exception
ActionProxy
execute
in interface ActionProxy
Exception
- can be thrown.ActionInvocation
public String getMethod()
ActionProxy
execute
will be invoked).getMethod
in interface ActionProxy
public boolean isMethodSpecified()
ActionProxy
isMethodSpecified
in interface ActionProxy
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.