Class TriggerEvent

  • All Implemented Interfaces:
    Cloneable, Comparable<IdAble>, Event, IdAble
    Direct Known Subclasses:
    TriggerFlowEvent

    public abstract class TriggerEvent
    extends CumulativeEvent
    A trigger event emanates from a link boundary (its source) with a particular cumulative value and time and potentially other information which should be constructed by subclassing this class
    Author:
    markr
    • Constructor Detail

      • TriggerEvent

        protected TriggerEvent​(EventType type,
                               LinkSegmentBoundary linkBoundarySource,
                               CumulativePoint cumulativePoint,
                               Serializable singleParameter)
        Constructor
        Parameters:
        type - the trigger event type
        linkBoundarySource - , the source of each trigger is a link boundary
        cumulativePoint - the cumulative reference point
        singleParameter - additional parameter
    • Method Detail

      • getLinkBoundary

        public LinkSegmentBoundary getLinkBoundary()
        Returns:
        the link boundary this event emanates from, i.e., the source