| Modifier and Type | Method and Description |
|---|---|
GraphInstance |
GraphInstanceRepositoryImpl.load(long woinRefNum) |
GraphInstance |
GraphInstanceRepository.load(long woinRefNum)
Loads the
GraphInstance identified by the given workflow instance refNum. |
static GraphInstance |
Marshaller.unmarshall(WorkflowInstance woin,
List<WorkItem> woits,
Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Marshaller.marshall(GraphInstance instance,
WorkflowInstance woin,
List<WorkItem> woits,
WorkflowInstanceStatus completeStatus) |
void |
GraphInstanceRepositoryImpl.save(GraphInstance graphInstance,
WorkflowInstanceStatus completeStatus) |
void |
GraphInstanceRepository.save(GraphInstance graphInstance,
WorkflowInstanceStatus completeStatus)
Saves the
GraphInstance and therefore updates workflow instance and work item fields. |
| Modifier and Type | Method and Description |
|---|---|
void |
WorkflowEnginePluginImpl.onWorkflowInstanceAborted(GraphInstance instance) |
void |
WorkflowEnginePlugin.onWorkflowInstanceAborted(GraphInstance instance)
Notifies all
WorkflowInstanceEventListener's provided by the plugin that a workflow instance was aborted. |
void |
WorkflowEnginePluginImpl.onWorkflowInstanceCompleted(GraphInstance instance) |
void |
WorkflowEnginePlugin.onWorkflowInstanceCompleted(GraphInstance instance)
Notifies all
WorkflowInstanceEventListener's provided by the plugin that a workflow instance execution completed. |
void |
WorkflowEnginePluginImpl.onWorkflowInstanceCreated(GraphInstance instance) |
void |
WorkflowEnginePlugin.onWorkflowInstanceCreated(GraphInstance instance)
Notifies all
WorkflowInstanceEventListener's provided by the plugin that a graph instance was created. |
| Modifier and Type | Method and Description |
|---|---|
GraphInstance |
Token.getInstance()
Returns the
GraphInstance that this token belongs to. |
GraphInstance |
GraphEngineFacade.start(Graph graph)
A shorthand for
#start(Graph, Environment, String) using an empty
initial environment and a null external id. |
GraphInstance |
GraphEngineFacade.start(Graph graph,
Environment initialEnvironment) |
GraphInstance |
GraphEngineFacade.start(String graphName)
A shorthand for
#start(String, Integer, Environment, String) using
the latest graph with the given name and an empty initial environment and
a null external id. |
GraphInstance |
GraphEngineFacade.start(String graphName,
Integer version)
A shorthand for
#start(String, Integer, Environment, String) using
an empty initial environment and a null external id. |
GraphInstance |
GraphEngineFacade.start(String graphName,
Integer version,
Environment initialEnvironment)
A shorthand for
#start(String, Integer, Environment, String) using a
null external id. |
GraphInstance |
GraphEngineFacade.start(String graphName,
Integer version,
Environment initialEnvironment,
Long externalId)
Starts a
GraphInstance of the Graph with the given name
and version and using the given Environment and associates the created
GraphInstance with the given external. |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphEngineFacade.abort(GraphInstance instance)
Aborts the given
GraphInstance's execution and cancels all
associated tokens and work items. |
GraphWorkItem |
GraphEngine.addHumanTaskItem(GraphInstance instance,
Token token,
String role,
String user,
Map<String,Object> arguments)
Adds a new
HumanTaskItem to the given instance which is
associated to the given token. |
GraphWorkItem |
GraphEngine.addSignalItem(GraphInstance instance,
Token token,
String signal)
Adds a new
SignalItem to the given instance which is associated
to the given token. |
GraphWorkItem |
GraphEngine.addTaskItem(GraphInstance instance,
Token token,
String bean,
String method,
Object[] arguments)
Adds a new
TaskItem to the given instance which is associated to
the given token. |
GraphWorkItem |
GraphEngine.addTimerItem(GraphInstance instance,
Token token,
Date dueDate)
Adds a new
TimerItem to the given instance which is associated to
the given token. |
Token |
GraphEngine.addToken(GraphInstance instance,
Node node,
Token parent)
Adds a new, active token to the given instance pointing to the given node
with the given parent.
|
void |
GraphInstanceEventListener.onAborted(GraphInstance instance)
Called after a graph instance was aborted
|
void |
GraphInstanceEventListener.onAborting(GraphInstance instance)
Called before a graph instance is aborted
|
void |
GraphInstanceEventListener.onCompleted(GraphInstance instance)
Called after a graph instance's execution completed
|
void |
GraphInstanceEventListener.onCreated(GraphInstance instance)
Called after a new graph instance was created
|
void |
GraphInstanceEventListener.onStarted(GraphInstance instance)
Called after a graph instance was started.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GraphInstanceImpl |
| Modifier and Type | Method and Description |
|---|---|
GraphInstance |
TokenImpl.getInstance() |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphEngineImpl.abort(GraphInstance instance) |
GraphWorkItem |
GraphEngineImpl.addHumanTaskItem(GraphInstance instance,
Token token,
String role,
String user,
Map<String,Object> arguments) |
GraphWorkItem |
GraphEngineImpl.addSignalItem(GraphInstance instance,
Token token,
String signal) |
GraphWorkItem |
GraphEngineImpl.addTaskItem(GraphInstance instance,
Token token,
String bean,
String method,
Object[] arguments) |
GraphWorkItem |
GraphEngineImpl.addTimerItem(GraphInstance instance,
Token token,
Date dueDate) |
TokenImpl |
GraphEngineImpl.addToken(GraphInstance instance,
Node node,
Token parent) |
void |
EventNotifier.fireAborted(GraphInstance instance) |
void |
EventNotifier.fireAborting(GraphInstance instance) |
void |
EventNotifier.fireCompleted(GraphInstance instance) |
void |
EventNotifier.fireCreated(GraphInstance instance) |
void |
EventNotifier.fireStarted(GraphInstance instance) |
void |
TokenImpl.setInstance(GraphInstance instance) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ExpressionLanguageCondition.evaluate(GraphInstance instance) |
boolean |
Condition.evaluate(GraphInstance instance) |
boolean |
AttributeEqualsCondition.evaluate(GraphInstance instance) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
MapMapping.evaluate(GraphInstance instance) |
T |
InputMapping.evaluate(GraphInstance instance) |
T |
ExpressionMapping.evaluate(GraphInstance instance) |
T |
ExpressionLanguageMapping.evaluate(GraphInstance instance) |
Date |
DueDateMapping.evaluate(GraphInstance instance) |
T |
ConstantMapping.evaluate(GraphInstance instance) |
T |
AttributeMapping.evaluate(GraphInstance instance) |
Object[] |
ArrayMapping.evaluate(GraphInstance instance) |
Copyright © 2018. All rights reserved.