Class ActivityStackEvent
java.lang.Object
org.eclipse.birt.report.model.api.activity.ActivityStackEvent
This event class identifies that the activity stack changes. This event
includes the stack that change and the action causing this event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
One record is executed or one transaction is committed.static final int
The latest record or transaction is redone.static final int
The outermost transaction is rolled back.static final int
The latest record or transaction is undone. -
Constructor Summary
ConstructorsConstructorDescriptionActivityStackEvent
(org.eclipse.birt.report.model.activity.ActivityStack theStack, int theAction) Constructs with the stack that changes and the action causing this event. -
Method Summary
-
Field Details
-
DONE
public static final int DONEOne record is executed or one transaction is committed.- See Also:
-
REDONE
public static final int REDONEThe latest record or transaction is redone.- See Also:
-
UNDONE
public static final int UNDONEThe latest record or transaction is undone.- See Also:
-
ROLL_BACK
public static final int ROLL_BACKThe outermost transaction is rolled back.- See Also:
-
-
Constructor Details
-
ActivityStackEvent
public ActivityStackEvent(org.eclipse.birt.report.model.activity.ActivityStack theStack, int theAction) Constructs with the stack that changes and the action causing this event.- Parameters:
theStack
- the stack that changestheAction
- the action causing this event
-
-
Method Details
-
getAction
public int getAction()Returns the action which causes this event. The possible value is:DONE
REDONE
UNDONE
- Returns:
- the action which causes this event.
-
getStack
public org.eclipse.birt.report.model.activity.ActivityStack getStack()Returns the stack that changes.- Returns:
- the stack that changes
-