Class Trigger


  • public class Trigger
    extends Object
    A condition to be satisfied for an action to be executed.
    • Constructor Detail

      • Trigger

        public Trigger()
    • Method Detail

      • lifetimePercentage

        public Integer lifetimePercentage()
        Get the lifetimePercentage value.
        Returns:
        the lifetimePercentage value
      • withLifetimePercentage

        public Trigger withLifetimePercentage​(Integer lifetimePercentage)
        Set the lifetimePercentage value.
        Parameters:
        lifetimePercentage - the lifetimePercentage value to set
        Returns:
        the Trigger object itself.
      • daysBeforeExpiry

        public Integer daysBeforeExpiry()
        Get the daysBeforeExpiry value.
        Returns:
        the daysBeforeExpiry value
      • withDaysBeforeExpiry

        public Trigger withDaysBeforeExpiry​(Integer daysBeforeExpiry)
        Set the daysBeforeExpiry value.
        Parameters:
        daysBeforeExpiry - the daysBeforeExpiry value to set
        Returns:
        the Trigger object itself.