Interface Duration

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    FixedDuration

    public interface Duration
    extends Serializable
    Interface for specifying truthness duration.
    See Also:
    org.kie.rule.Rule#setDuration, org.kie.rule.Rule#getDuration
    • Method Detail

      • getDuration

        long getDuration​(Tuple tuple)

        Retrieve the duration for which the conditions of this Tuple must remain true before the rule will fire.

        Parameters:
        tuple -
        Returns:
        the duration