Class ContinueOnEvent

  • All Implemented Interfaces:
    EventHandler

    public class ContinueOnEvent
    extends Object
    implements EventHandler
    Event handler which will always return continue as a state.
    Since:
    6.1
    Author:
    Hank Grabowski
    • Constructor Detail

      • ContinueOnEvent

        public ContinueOnEvent()
        Empty constructor.

        This constructor is not strictly necessary, but it prevents spurious javadoc warnings with JDK 18 and later.

        Since:
        12.0
    • Method Detail

      • eventOccurred

        public Action eventOccurred​(SpacecraftState s,
                                    EventDetector detector,
                                    boolean increasing)
        Specific implementation of the eventOccurred interface.
        Specified by:
        eventOccurred in interface EventHandler
        Parameters:
        s - SpaceCraft state to be used in the evaluation
        detector - object with appropriate type that can be used in determining correct return state
        increasing - with the event occurred in an "increasing" or "decreasing" slope direction
        Returns:
        continue under all circumstances