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.
  • 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