Class SCMTrigger.SCMTriggerCause

java.lang.Object
hudson.model.Cause
hudson.triggers.SCMTrigger.SCMTriggerCause
Enclosing class:
SCMTrigger

public static class SCMTrigger.SCMTriggerCause extends Cause
  • Constructor Details

  • Method Details

    • 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.
      Overrides:
      onLoad in class Cause
    • onAddedTo

      public void onAddedTo(Run build)
      Description copied from class: Cause
      Called when the cause is registered.
      Overrides:
      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

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public Run getRun()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object