Interface TriggerApplicabilityCondition

    • Method Detail

      • canTriggerType

        boolean canTriggerType​(@NotNull
                               @NotNull Class<? extends Triggerable> triggerableType)
        General check of trigger applicability.
        Parameters:
        triggerableType -
        Returns:
        true iff the trigger can trigger some instances of given triggerable type.
      • canTrigger

        boolean canTrigger​(@NotNull
                           @NotNull Triggerable triggerable)
        Detailed check of trigger applicability. This can check attributes of the triggerable, not just its type, thus being more exact.
        Parameters:
        triggerable -
        Returns: