public class WorkflowEvent
extends org.osgi.service.event.Event
WorkflowEvent
provides an extension of Event
that is
used for propagating workflow related information as OSGI events.Modifier and Type | Field and Description |
---|---|
static String |
DELEGATEE
Delegate name
|
static String |
EVENT_TOPIC
The job topic for adding an entry to the audit log.
|
static String |
EVENT_TYPE
The type of the event.
|
static String |
FROM_NODE_NAME
The
WorkflowNode that is the source of a
NODE_TRANSITION_EVENT . |
static String |
JOB_FAILED_EVENT |
static String |
MODEL_DELETED_EVENT |
static String |
MODEL_DEPLOYED_EVENT |
static String |
NODE_TRANSITION_EVENT |
static String |
PARENT_WORKFLOW_ID
|
static String |
PROCESS_TIMEOUT_EVENT |
static String |
RESOURCE_COLLECTION_MODIFIED |
static String |
TIME_STAMP
Time stamp of the time the event was created.
|
static String |
TO_NODE_NAME
The
WorkflowNode that is the target of a
NODE_TRANSITION_EVENT . |
static String |
USER
The user whose that has triggered the event.
|
static String |
VARIABLE_NAME
The name of the variable that has changed when a
VARIABLE_UPDATE_EVENT is triggered. |
static String |
VARIABLE_UPDATE_EVENT |
static String |
VARIABLE_VALUE
The new value of the variable that has changed when a
VARIABLE_UPDATE_EVENT is triggered. |
static String |
WORK_DATA
The
WorkflowData that relates to the event. |
static String |
WORK_ITEM
The
WorkItem that relates to the event. |
static String |
WORKFLOW_ABORTED_EVENT |
static String |
WORKFLOW_COMPLETED_EVENT |
static String |
WORKFLOW_INSTANCE_ID
The ID of the
Workflow instance the event relates to. |
static String |
WORKFLOW_NAME
The name of the
WorkflowModel the event relates to. |
static String |
WORKFLOW_NODE
The node of the
WorkflowModel the event relates to. |
static String |
WORKFLOW_RESUMED_EVENT |
static String |
WORKFLOW_STARTED_EVENT |
static String |
WORKFLOW_SUSPENDED_EVENT |
static String |
WORKFLOW_VERSION
The version of the
WorkflowModel the event relates to. |
static String |
WORKITEM_DELEGATION_EVENT |
Constructor and Description |
---|
WorkflowEvent(Dictionary<?,?> props)
Default constructor used for creating
WorkflowEvent
instances. |
Modifier and Type | Method and Description |
---|---|
String |
getDelegateName()
Delegate name
|
String |
getEventType()
The type of the event.
|
String |
getFromNodeName()
The
WorkflowNode that is the source of a
NODE_TRANSITION_EVENT . |
String |
getParentWorkflowId()
|
Date |
getTimeStamp()
Time stamp of the time the event was created.
|
String |
getToNodeName()
The
WorkflowNode that is the target of a
NODE_TRANSITION_EVENT . |
String |
getUser()
The user who triggered the event.
|
String |
getVariableName()
The name of the variable that has changed when a
VARIABLE_UPDATE_EVENT is triggered. |
Object |
getVariableValue()
The new value of the variable that has changed when a
VARIABLE_UPDATE_EVENT is triggered. |
WorkflowData |
getWorkflowData()
The
WorkflowData that relates to the event. |
String |
getWorkflowInstanceId()
The ID of the
Workflow instance the event relates to. |
String |
getWorkflowName()
The name of the
WorkflowModel the event relates to. |
String |
getWorkflowNode()
The node of the
WorkflowModel the event relates to. |
String |
getWorkflowVersion()
The version of the
WorkflowModel the event relates to. |
WorkItem |
getWorkItem()
The
WorkItem that relates to the event. |
public static final String EVENT_TOPIC
public static final String TIME_STAMP
public static final String USER
public static final String WORKFLOW_NAME
WorkflowModel
the event relates to.public static final String WORKFLOW_VERSION
WorkflowModel
the event relates to.public static final String WORKFLOW_NODE
WorkflowModel
the event relates to.public static final String WORKFLOW_INSTANCE_ID
Workflow
instance the event relates to.public static final String PARENT_WORKFLOW_ID
public static final String WORK_DATA
WorkflowData
that relates to the event.public static final String WORK_ITEM
WorkItem
that relates to the event.public static final String FROM_NODE_NAME
WorkflowNode
that is the source of a
NODE_TRANSITION_EVENT
.public static final String TO_NODE_NAME
WorkflowNode
that is the target of a
NODE_TRANSITION_EVENT
.public static final String VARIABLE_NAME
VARIABLE_UPDATE_EVENT
is triggered.public static final String VARIABLE_VALUE
VARIABLE_UPDATE_EVENT
is triggered.public static final String DELEGATEE
public static final String EVENT_TYPE
public static final String MODEL_DEPLOYED_EVENT
public static final String MODEL_DELETED_EVENT
public static final String WORKFLOW_STARTED_EVENT
public static final String WORKFLOW_ABORTED_EVENT
public static final String WORKFLOW_SUSPENDED_EVENT
public static final String WORKFLOW_RESUMED_EVENT
public static final String WORKFLOW_COMPLETED_EVENT
public static final String NODE_TRANSITION_EVENT
public static final String VARIABLE_UPDATE_EVENT
public static final String PROCESS_TIMEOUT_EVENT
public static final String WORKITEM_DELEGATION_EVENT
public static final String JOB_FAILED_EVENT
public static final String RESOURCE_COLLECTION_MODIFIED
public WorkflowEvent(Dictionary<?,?> props)
WorkflowEvent
instances.props
- The properties assigned to the event.public Date getTimeStamp()
public String getUser()
public String getWorkflowName()
WorkflowModel
the event relates to.public String getWorkflowVersion()
WorkflowModel
the event relates to.public String getWorkflowNode()
WorkflowModel
the event relates to.public String getWorkflowInstanceId()
Workflow
instance the event relates to.public String getParentWorkflowId()
public WorkflowData getWorkflowData()
WorkflowData
that relates to the event.public String getFromNodeName()
WorkflowNode
that is the source of a
NODE_TRANSITION_EVENT
.public String getToNodeName()
WorkflowNode
that is the target of a
NODE_TRANSITION_EVENT
.public String getVariableName()
VARIABLE_UPDATE_EVENT
is triggered.public Object getVariableValue()
VARIABLE_UPDATE_EVENT
is triggered.public String getDelegateName()
public String getEventType()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"