Class WavefrontBuildListener
- java.lang.Object
-
- hudson.model.listeners.RunListener<Run>
-
- com.vmware.devops.plugins.wavefront.WavefrontBuildListener
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class WavefrontBuildListener extends RunListener<Run>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static Integer
MAX_ALLOWED_JOB_PARAMETER_POINT_TAGS
static Integer
MAX_ALLOWED_POINT_TAGS
-
Fields inherited from class hudson.model.listeners.RunListener
LISTENERS, targetType
-
-
Constructor Summary
Constructors Constructor Description WavefrontBuildListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNodeStatus(org.jenkinsci.plugins.workflow.graph.FlowNode node)
static boolean
isStageNode(org.jenkinsci.plugins.workflow.graph.FlowNode node)
void
onCompleted(Run run, TaskListener listener)
Called when a build is completed.-
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireInitialize, fireStarted, onDeleted, onFinalized, onInitialize, onStarted, register, setUpEnvironment, unregister
-
-
-
-
Method Detail
-
onCompleted
public final void onCompleted(Run run, @Nonnull TaskListener listener)
Called when a build is completed.- Overrides:
onCompleted
in classRunListener<Run>
- Parameters:
run
- - A Run object representing a particular execution of Job.listener
- - A TaskListener object which receives events that happen during some operation.
-
getNodeStatus
public String getNodeStatus(org.jenkinsci.plugins.workflow.graph.FlowNode node)
-
isStageNode
public static boolean isStageNode(org.jenkinsci.plugins.workflow.graph.FlowNode node)
-
-