public class StoppingConditionEvent extends Object
StoppingConditionEvaluator has been satisfied.| Constructor and Description | 
|---|
StoppingConditionEvent(StoppingCondition condition,
                      double value,
                      double thresholdUsed,
                      ITimeBasedState stateAtEvent,
                      StoppingConditionTriggeredBehavior behavior)
Initializes a new instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
StoppingCondition | 
getCondition()
Gets the definition of the  
StoppingCondition that detected the event. | 
JulianDate | 
getDateOfEvent()
Gets the date of the detected  
event. | 
StoppingConditionTriggeredBehavior | 
getEventBehavior()
Gets the behavior that the  
StoppablePropagator will perform having detected 
    this event. | 
ITimeBasedState | 
getStateOfEvent()
 | 
double | 
getThresholdUsed()
Gets the value of the threshold that the stopping condition was driving 
    propagation too. 
 | 
double | 
getValueOfCondition()
Gets the value of the  
StoppingCondition detected at the event. | 
void | 
setEventBehavior(StoppingConditionTriggeredBehavior value)
Sets the behavior that the  
StoppablePropagator will perform having detected 
    this event. | 
public StoppingConditionEvent(StoppingCondition condition, double value, double thresholdUsed, ITimeBasedState stateAtEvent, @Nonnull StoppingConditionTriggeredBehavior behavior)
condition - The identifier of the StoppingConditionEvaluator that found this event.value - The value of the StoppingConditionEvaluator.stateAtEvent - The state at the time of the event.thresholdUsed - The value of the threshold that the stopping drove the event to.behavior - Indicates how the propagator should continue given that it has detected this event.@Nonnull public final JulianDate getDateOfEvent()
event.public final StoppingCondition getCondition()
StoppingCondition that detected the event.public final double getValueOfCondition()
StoppingCondition detected at the event. 
    If the StoppingCondition is detecting a threshold, this should be 
    the value of that threshold plus or minus the tolerance.public final ITimeBasedState getStateOfEvent()
@Nonnull public final StoppingConditionTriggeredBehavior getEventBehavior()
StoppablePropagator will perform having detected 
    this event.public final void setEventBehavior(@Nonnull StoppingConditionTriggeredBehavior value)
StoppablePropagator will perform having detected 
    this event.public final double getThresholdUsed()