Package org.apache.wiki.event
Class WorkflowEvent
java.lang.Object
java.util.EventObject
org.apache.wiki.event.WikiEvent
org.apache.wiki.event.WorkflowEvent
- All Implemented Interfaces:
Serializable
WorkflowEvent indicates that a state change to a Workflow: started, running, waiting, completed, aborted.
These correspond exactly to the states described in the Workflow. All events
are logged with priority INFO.
- Since:
- 2.3.79
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIf a Step has elected to abort the Workflow.static final intAfter the Workflow has finished processing all Steps, without errors.static final intAfter Workflow instantiation.static final intWhen the workflow wishes to add a Decision to the DecisionQueuestatic final intWhen the decision queue decides the outcome of a Decisionstatic final intWhen the decision queue reassigns a Decisionstatic final intWhen the workflow wishes to remove a Decision from the DecisionQueuestatic final intAfter the Workflow has been started (or re-started) using theorg.apache.wiki.workflow.Workflow#start()method, but before it has finished processing all Steps.static final intAfter the Workflow has been instantiated, but before it has been started using theorg.apache.wiki.workflow.Workflow#start()method.static final intWhen the Workflow has temporarily paused, for example because of a pending Decision.Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionWorkflowEvent(Object src, int type) Constructs a new instance of this event type, which signals a security event has occurred.WorkflowEvent(Object src, int type, Object... args) Constructs a new instance of this event type, which signals a security event has occurred. -
Method Summary
Methods inherited from class org.apache.wiki.event.WikiEvent
eventName, getArg, getArgs, getSrc, getType, getTypeDescription, getWhen, isValidType, setTypeMethods inherited from class java.util.EventObject
getSource
-
Field Details
-
CREATED
After Workflow instantiation.- See Also:
-
STARTED
After the Workflow has been instantiated, but before it has been started using theorg.apache.wiki.workflow.Workflow#start()method.- See Also:
-
RUNNING
After the Workflow has been started (or re-started) using theorg.apache.wiki.workflow.Workflow#start()method, but before it has finished processing all Steps.- See Also:
-
WAITING
When the Workflow has temporarily paused, for example because of a pending Decision.- See Also:
-
COMPLETED
After the Workflow has finished processing all Steps, without errors.- See Also:
-
ABORTED
If a Step has elected to abort the Workflow.- See Also:
-
DQ_ADDITION
When the workflow wishes to add a Decision to the DecisionQueue- See Also:
-
DQ_REMOVAL
When the workflow wishes to remove a Decision from the DecisionQueue- See Also:
-
DQ_DECIDE
When the decision queue decides the outcome of a Decision- See Also:
-
DQ_REASSIGN
When the decision queue reassigns a Decision- See Also:
-
-
Constructor Details
-
WorkflowEvent
Constructs a new instance of this event type, which signals a security event has occurred. Thesourceparameter is required, and may not benull. When the WikiSecurityEvent is constructed, the security loggerWikiSecurityEvent#logis notified.- Parameters:
src- the source of the event, which can be any object: a wiki page, group or authentication/authentication/group manager.type- the type of event
-
WorkflowEvent
Constructs a new instance of this event type, which signals a security event has occurred. Thesourceparameter is required, and may not benull. When the WikiSecurityEvent is constructed, the security loggerWikiSecurityEvent#logis notified.- Parameters:
src- the source of the event, which can be any object: a wiki page, group or authentication/authentication/group manager.type- the type of event
-
-
Method Details