public class LocalActionInvoker extends DefaultActionInvoker
DefaultActionInvoker
for use within a worker node, that massages the
param Map
keys such that they are generic, and not scheduler specific.Constructor and Description |
---|
LocalActionInvoker() |
Modifier and Type | Method and Description |
---|---|
protected IBackgroundExecutionStreamProvider |
getStreamProvider(Map<String,Serializable> params)
|
IActionInvokeStatus |
invokeAction(IAction actionBean,
String actionUser,
Map<String,Serializable> params) |
invokeActionImpl, isSupportedAction
protected IBackgroundExecutionStreamProvider getStreamProvider(Map<String,Serializable> params)
INVOKER_STREAMPROVIDER
key within the params
Map
or
builds it from the input file and output dir Map
values. Returns null
if information needed to
build the stream provider is not present in the map
, which is perfectly ok for some
IAction
types.getStreamProvider
in class DefaultActionInvoker
params
- the Map
or parameters needed to invoke the IAction
IBackgroundExecutionStreamProvider
represented in the params
Map
public IActionInvokeStatus invokeAction(IAction actionBean, String actionUser, Map<String,Serializable> params) throws Exception
invokeAction
in interface IActionInvoker
invokeAction
in class DefaultActionInvoker
Exception
Copyright © 2017 Hitachi Vantara. All rights reserved.