Class JenkinsActivityListener
java.lang.Object
hudson.model.listeners.RunListener<Run<?,?>>
io.jenkins.plugins.trunk.listeners.JenkinsActivityListener
- All Implemented Interfaces:
ExtensionPoint
,org.jenkinsci.plugins.workflow.flow.GraphListener
@Extension
public class JenkinsActivityListener
extends RunListener<Run<?,?>>
implements org.jenkinsci.plugins.workflow.flow.GraphListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface org.jenkinsci.plugins.workflow.flow.GraphListener
org.jenkinsci.plugins.workflow.flow.GraphListener.Synchronous
-
Field Summary
Fields inherited from class hudson.model.listeners.RunListener
LISTENERS, targetType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCompleted
(Run<?, ?> run, TaskListener listener) void
onInitialize
(Run<?, ?> run) void
onNewHead
(org.jenkinsci.plugins.workflow.graph.FlowNode endNode) void
onStarted
(Run<?, ?> run, TaskListener listener) Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireInitialize, fireStarted, onDeleted, onFinalized, register, setUpEnvironment, unregister
-
Constructor Details
-
JenkinsActivityListener
public JenkinsActivityListener()
-
-
Method Details
-
onInitialize
- Overrides:
onInitialize
in classRunListener<Run<?,
?>>
-
onStarted
- Overrides:
onStarted
in classRunListener<Run<?,
?>>
-
onCompleted
- Overrides:
onCompleted
in classRunListener<Run<?,
?>>
-
onNewHead
public void onNewHead(org.jenkinsci.plugins.workflow.graph.FlowNode endNode) - Specified by:
onNewHead
in interfaceorg.jenkinsci.plugins.workflow.flow.GraphListener
-