Class LiveGraphLifecycle

java.lang.Object
org.jenkinsci.plugins.workflow.flow.FlowExecutionListener
io.jenkins.plugins.pipelinegraphview.livestate.LiveGraphLifecycle
All Implemented Interfaces:
ExtensionPoint

@Extension public class LiveGraphLifecycle extends org.jenkinsci.plugins.workflow.flow.FlowExecutionListener
Creates and readies LiveGraphState entries at execution start / resume, and hands the final graph off to the on-disk cache at completion so the first post-build read doesn't need a fresh scanner sweep.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    A hard kill (WorkflowRun#doKill) drops the run's execution without firing FlowExecutionListener.onCompleted(org.jenkinsci.plugins.workflow.flow.FlowExecution), leaving the flow nodes reachable only through the live state.

    Nested classes/interfaces inherited from interface hudson.ExtensionPoint

    ExtensionPoint.LegacyInstancesAreScopedToHudson
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCompleted(org.jenkinsci.plugins.workflow.flow.FlowExecution execution)
     
    void
    onResumed(org.jenkinsci.plugins.workflow.flow.FlowExecution execution)
     
    void
    onRunning(org.jenkinsci.plugins.workflow.flow.FlowExecution execution)
     

    Methods inherited from class org.jenkinsci.plugins.workflow.flow.FlowExecutionListener

    fireCompleted, fireCreated, fireResumed, fireRunning, onCreated

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LiveGraphLifecycle

      public LiveGraphLifecycle()
  • Method Details

    • onRunning

      public void onRunning(@NonNull org.jenkinsci.plugins.workflow.flow.FlowExecution execution)
      Overrides:
      onRunning in class org.jenkinsci.plugins.workflow.flow.FlowExecutionListener
    • onResumed

      public void onResumed(@NonNull org.jenkinsci.plugins.workflow.flow.FlowExecution execution)
      Overrides:
      onResumed in class org.jenkinsci.plugins.workflow.flow.FlowExecutionListener
    • onCompleted

      public void onCompleted(@NonNull org.jenkinsci.plugins.workflow.flow.FlowExecution execution)
      Overrides:
      onCompleted in class org.jenkinsci.plugins.workflow.flow.FlowExecutionListener