Class SumoItemListener
- java.lang.Object
-
- hudson.model.listeners.ItemListener
-
- com.sumologic.jenkins.jenkinssumologicplugin.listeners.SumoItemListener
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class SumoItemListener extends ItemListener
Sumo Logic plugin for Jenkins model.Sumo Item Listener for any event in Jenkins
Created by Sourabh Jain on 5/2019.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description SumoItemListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onBeforeShutdown()
void
onCopied(Item src, Item item)
void
onCreated(Item item)
void
onDeleted(Item item)
void
onLocationChanged(Item item, String oldFullName, String newFullName)
void
onUpdated(Item item)
-
Methods inherited from class hudson.model.listeners.ItemListener
all, checkBeforeCopy, fireLocationChange, fireOnCopied, fireOnCreated, fireOnDeleted, fireOnUpdated, onCheckCopy, onLoaded, onRenamed, register
-
-
-
-
Method Detail
-
onCreated
public void onCreated(Item item)
- Overrides:
onCreated
in classItemListener
-
onCopied
public void onCopied(Item src, Item item)
- Overrides:
onCopied
in classItemListener
-
onDeleted
public void onDeleted(Item item)
- Overrides:
onDeleted
in classItemListener
-
onUpdated
public void onUpdated(Item item)
- Overrides:
onUpdated
in classItemListener
-
onLocationChanged
public void onLocationChanged(Item item, String oldFullName, String newFullName)
- Overrides:
onLocationChanged
in classItemListener
-
onBeforeShutdown
public void onBeforeShutdown()
- Overrides:
onBeforeShutdown
in classItemListener
-
-