public class ActivityInvoker extends Object
Modifier and Type | Field and Description |
---|---|
static long |
TIMEOUT
Timeout in seconds
|
Constructor and Description |
---|
ActivityInvoker() |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
invokeAsyncActivity(AbstractAsynchronousActivity<?> activity,
Map<String,Object> inputs,
Map<String,Class<?>> requestedOutputs)
Invokes an
AsynchronousActivity with a given set of input Objects
and returns a Map |
public static Map<String,Object> invokeAsyncActivity(AbstractAsynchronousActivity<?> activity, Map<String,Object> inputs, Map<String,Class<?>> requestedOutputs) throws InterruptedException
AsynchronousActivity
with a given set of input Objects
and returns a Mapactivity
- the activity to be testedinputs
- a MaprequestedOutputs
- a Listnull
if a failure occursInterruptedException
Throwable
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.