public interface MicroflowCallBuilder
Modifier and Type | Method and Description |
---|---|
void |
executeInBackground(IContext context,
java.lang.String queueName)
This API call is experimental and should not be used! It will not work without explicitly enabling background processing.
|
MicroflowCallBuilder |
withParam(java.lang.String name,
java.lang.Object value)
Adds a parameter with the specified name and value to the microflow call.
|
default MicroflowCallBuilder |
withParams(java.util.Map<java.lang.String,java.lang.Object> params)
Adds multiples parameters to the microflow call.
|
MicroflowCallBuilder withParam(java.lang.String name, java.lang.Object value)
name
- the name of the parameter to addvalue
- the value of the parameter to adddefault MicroflowCallBuilder withParams(java.util.Map<java.lang.String,java.lang.Object> params)
params
- the parameters to addvoid executeInBackground(IContext context, java.lang.String queueName)
context
- the context in which to schedule the microflow callqueueName
- the name of the queue in which to insert the microflow call