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