public class StoppablePropagatorStepTakenArgs extends EventArgs
Constructor and Description |
---|
StoppablePropagatorStepTakenArgs(ITimeBasedState previousState,
ITimeBasedState currentState,
PropagationEventTrigger eventTrigger)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
ITimeBasedState |
getCurrentState()
Gets the
current state of propagation. |
ITimeBasedState |
getPreviousState()
Gets the
previous state of propagation. |
PropagationEventTrigger |
getTrigger()
Gets information about which method triggered this event.
|
public StoppablePropagatorStepTakenArgs(ITimeBasedState previousState, ITimeBasedState currentState, @Nonnull PropagationEventTrigger eventTrigger)
previousState
- The previously propagated state.currentState
- The current propagated state.eventTrigger
- If this step was a normal step or a restep.public final ITimeBasedState getPreviousState()
previous state
of propagation.public final ITimeBasedState getCurrentState()
current state
of propagation.@Nonnull public final PropagationEventTrigger getTrigger()