Class TriggerEvent


  • public class TriggerEvent
    extends java.lang.Object
    This is a simple class that we use to track trigger events. This is not expected to be used directly, instead there is a static TriggerEvent in TriggerEvents for each event found in this file.
    • Constructor Summary

      Constructors 
      Constructor Description
      TriggerEvent​(int type)
      Create a trigger event of the given type
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) java.lang.String getName()
      Get the type number of this trigger
      (package private) int getNumber()
      Get the type number of this trigger
      (package private) boolean isAfter()
      Is this an after trigger
      (package private) boolean isBefore()
      Is this a before trigger
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TriggerEvent

        TriggerEvent​(int type)
        Create a trigger event of the given type
        Parameters:
        type - the type
    • Method Detail

      • getNumber

        int getNumber()
        Get the type number of this trigger
        Returns:
        the type number
      • getName

        java.lang.String getName()
        Get the type number of this trigger
        Returns:
        the type number
      • isBefore

        boolean isBefore()
        Is this a before trigger
        Returns:
        true if before
      • isAfter

        boolean isAfter()
        Is this an after trigger
        Returns:
        true if after