Interface TriggerReason

    • Method Detail

      • getName

        String getName()
        Gives the trigger reason
        Returns:
        {String} - the trigger reason
      • getNameForSentence

        String getNameForSentence()
        Gives the trigger reason in a format that can be used in a sentence eg. "was triggered at the scheduled time of 6:34 PM"
        Returns:
        {String} - the trigger reason, must be HTML escaped.
      • getChildTriggerReason

        @NotNull
        @NotNull TriggerReason getChildTriggerReason​(BuildContext child,
                                                     ImmutablePlan plan)
        If build A (triggered because of this TriggerReason) caused builds of plans X,Y,Z to trigger, this method will be called to determine trigger reasons for plans X, Y, Z.
        Parameters:
        child -
        plan -
        Returns: