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/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonCompleted(org.jenkinsci.plugins.workflow.flow.FlowExecution execution) voidonResumed(org.jenkinsci.plugins.workflow.flow.FlowExecution execution) voidonRunning(org.jenkinsci.plugins.workflow.flow.FlowExecution execution) Methods inherited from class org.jenkinsci.plugins.workflow.flow.FlowExecutionListener
fireCompleted, fireCreated, fireResumed, fireRunning, onCreated
-
Constructor Details
-
LiveGraphLifecycle
public LiveGraphLifecycle()
-
-
Method Details
-
onRunning
public void onRunning(@NonNull org.jenkinsci.plugins.workflow.flow.FlowExecution execution) - Overrides:
onRunningin classorg.jenkinsci.plugins.workflow.flow.FlowExecutionListener
-
onResumed
public void onResumed(@NonNull org.jenkinsci.plugins.workflow.flow.FlowExecution execution) - Overrides:
onResumedin classorg.jenkinsci.plugins.workflow.flow.FlowExecutionListener
-
onCompleted
public void onCompleted(@NonNull org.jenkinsci.plugins.workflow.flow.FlowExecution execution) - Overrides:
onCompletedin classorg.jenkinsci.plugins.workflow.flow.FlowExecutionListener
-