Interface ITriggerPreconditionSatisfiedParams<TData>

    • Method Detail

      • getEventData

        IWorkflowEventData getEventData()
        Returns:
        The event data describing the event that occurred. The trigger should check whether the trigger still applies to this event.
      • getEventDataAs

        default <T extends IWorkflowEventData> T getEventDataAs​(Class<T> type)
        Type Parameters:
        T - Desired type of the event data.
        Parameters:
        type - Desired type of the event data.
        Returns:
        The event data, cast to the given type, or null when the event data is not of the given type.