Class SumoPipelineStatusListener
- java.lang.Object
-
- hudson.model.listeners.RunListener<Run>
-
- com.sumologic.jenkins.jenkinssumologicplugin.listeners.SumoPipelineStatusListener
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class SumoPipelineStatusListener extends RunListener<Run>
Sumo Logic plugin for Jenkins model.Run Listener that listen every build and for sumologic pipeline.
Created by Sourabh Jain on 5/2019.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.listeners.RunListener
LISTENERS, targetType
-
-
Constructor Summary
Constructors Constructor Description SumoPipelineStatusListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
isPipeLineJobWithSpecificFlagEnabled(Run run)
void
onCompleted(Run run, TaskListener listener)
void
onStarted(Run run, TaskListener listener)
-
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireInitialize, fireStarted, onDeleted, onFinalized, onInitialize, register, setUpEnvironment, unregister
-
-
-
-
Method Detail
-
onStarted
public void onStarted(Run run, TaskListener listener)
- Overrides:
onStarted
in classRunListener<Run>
-
onCompleted
public void onCompleted(Run run, @Nonnull TaskListener listener)
- Overrides:
onCompleted
in classRunListener<Run>
-
isPipeLineJobWithSpecificFlagEnabled
public static boolean isPipeLineJobWithSpecificFlagEnabled(Run run) throws IOException
- Throws:
IOException
-
-