|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject org.apache.commons.workflow.ContextEvent
public class ContextEvent
A ContextEvent provides notification to a
ContextListener
that a specified event has occurred for
the specified context.
Field Summary | |
---|---|
protected Context |
context
The Context upon which this event occurred. |
protected StepException |
exception
The StepException that caused this event. |
protected Step |
step
The Step upon which this event occurred. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ContextEvent(Context context)
Construct a new immutable ContextEvent. |
|
ContextEvent(Context context,
Step step)
Construct a new immutable ContextEvent. |
|
ContextEvent(Context context,
Step step,
StepException exception)
Construct a new immutable ContextEvent. |
Method Summary | |
---|---|
Context |
getContext()
|
StepException |
getException()
|
Step |
getStep()
|
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Context context
Context
upon which this event occurred.
protected StepException exception
StepException
that caused this event.
protected Step step
Step
upon which this event occurred. For
beanReplaced
events, this will be the previous step.
Constructor Detail |
---|
public ContextEvent(Context context)
context
- Context in which this event occurredpublic ContextEvent(Context context, Step step)
context
- Context upon which this event occurredstep
- Step this event is associated with (if any)public ContextEvent(Context context, Step step, StepException exception)
context
- Context upon which this event occurredstep
- Step this event is associated with (if any)exception
- StepException that was thrown
(afterStep()
and afterActivity()
only)Method Detail |
---|
public Context getContext()
public StepException getException()
public Step getStep()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |