Class RestartDeclarativePipelineCause

java.lang.Object
hudson.model.Cause
org.jenkinsci.plugins.pipeline.modeldefinition.causes.RestartDeclarativePipelineCause

public class RestartDeclarativePipelineCause extends Cause
  • Constructor Details

    • RestartDeclarativePipelineCause

      public RestartDeclarativePipelineCause(@NonNull Run<?,?> original, @NonNull String originStage)
  • Method Details

    • onAddedTo

      public void onAddedTo(Run run)
      Overrides:
      onAddedTo in class Cause
    • onLoad

      public void onLoad(Run<?,?> run)
      Overrides:
      onLoad in class Cause
    • getOriginRunNumber

      public int getOriginRunNumber()
    • getOriginStage

      @NonNull public String getOriginStage()
    • getOriginal

      @CheckForNull public Run<?,?> getOriginal()
    • getShortDescription

      public String getShortDescription()
      Specified by:
      getShortDescription in class Cause