Class SCMTrigger.SCMTriggerCause

  • Enclosing class:

    public static class SCMTrigger.SCMTriggerCause
    extends Cause
    • Method Detail

      • onLoad

        public void onLoad​(Run run)
        Description copied from class: Cause
        Called when a build is loaded from disk. Useful in case the cause needs to keep a build reference; this ought to be transient.
        onLoad in class Cause
      • onAddedTo

        public void onAddedTo​(Run build)
        Description copied from class: Cause
        Called when the cause is registered.
        onAddedTo in class Cause
      • getShortDescription

        public String getShortDescription()
        Description copied from class: Cause
        One-line human-readable text of the cause. Historically, this method's return value was used to render HTML on the UI as well. Since Jenkins 2.315 and 2.303.2, the return value is interpreted as text. To have rich HTML output on the UI, provide a custom description.jelly view for your subclass. See the documentation.
        Specified by:
        getShortDescription in class Cause
      • getRun

        public Run getRun()
      • hashCode

        public int hashCode()
        hashCode in class Object