public class CompensationWorker extends Object implements Runnable
CompensationWorker.CompensationListener to get the final state of the compensation.| Modifier and Type | Class and Description |
|---|---|
static interface |
CompensationWorker.CompensationListener |
static class |
CompensationWorker.ExecutionFlags |
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT_URI |
static String |
GOAL |
static String |
HAS_BEEN_FINISHED |
static String |
HAS_BEEN_SATISFIED |
static String |
SERVICE_URI |
static String |
WORKFLOW_NAME |
| Constructor and Description |
|---|
CompensationWorker() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGoal(String goal) |
void |
addParameter(String name,
Object value) |
CompensationWorker.ExecutionFlags |
getExecutionFlags() |
void |
run() |
void |
setInstanceId(String instanceId) |
void |
setListener(CompensationWorker.CompensationListener listener) |
void |
setWorkflowName(String workflowName) |
public static final String GOAL
public static final String CONTEXT_URI
public static final String SERVICE_URI
public static final String WORKFLOW_NAME
public static final String HAS_BEEN_SATISFIED
public static final String HAS_BEEN_FINISHED
public void setListener(CompensationWorker.CompensationListener listener)
public void setWorkflowName(String workflowName)
public void setInstanceId(String instanceId)
public void addGoal(String goal)
public CompensationWorker.ExecutionFlags getExecutionFlags()
Copyright © 2018. All rights reserved.