public interface Score
| Modifier and Type | Method and Description |
|---|---|
void |
cancelExecution(Long executionId)
Trigger execution cancellation - sets the given execution with status PENDING_CANCEL
|
boolean |
pauseExecution(Long executionId)
Requests Score to pause the given execution.
|
void |
resumeExecution(Long executionId,
Map<String,Serializable> context,
Map<String,Serializable> runtimeValues)
Requests Score to resume the given execution
|
Long |
trigger(TriggeringProperties triggeringProperties)
Trigger a flow by score & return the execution ID
|
Long trigger(TriggeringProperties triggeringProperties)
triggeringProperties - object holding all the properties needed for the triggerboolean pauseExecution(Long executionId)
executionId - the ID of the executionvoid resumeExecution(Long executionId, Map<String,Serializable> context, Map<String,Serializable> runtimeValues)
executionId - - the execution to resumecontext - - the execution context values to run withruntimeValues- - values to add to the runtime valuesvoid cancelExecution(Long executionId)
executionId - - the execution to cancelCopyright © 2020. All rights reserved.