public interface IActionInvoker
IAction
instance in a
generic fashion.Modifier and Type | Method and Description |
---|---|
IActionInvokeStatus |
invokeAction(IAction action,
String user,
Map<String,Serializable> params)
Invokes the
IAction action . |
boolean |
isSupportedAction(IAction action)
Predicate that tells whether an
IActionInvoker can handle a given IAction |
IActionInvokeStatus invokeAction(IAction action, String user, Map<String,Serializable> params) throws Exception
IAction
action
.action
- The IAction
to be invokeduser
- The user invoking the actionparams
- the Map
or parameters needed to invoke the IAction
IActionInvokeStatus
object containing information about the action invocationException
- if the action cannot be run for some reasonboolean isSupportedAction(IAction action)
IActionInvoker
can handle a given IAction
action
- The IAction
to be handledIActionInvoker
can handle a given IAction
Copyright © 2020 Hitachi Vantara. All rights reserved.