Class JobListener

java.lang.Object
hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
org.jenkins.plugins.JobListener
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public class JobListener
extends hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface hudson.ExtensionPoint

    hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
  • Field Summary

    Fields inherited from class hudson.model.listeners.RunListener

    LISTENERS, targetType
  • Constructor Summary

    Constructors 
    Constructor Description
    JobListener()  
  • Method Summary

    Modifier and Type Method Description
    void onCompleted​(hudson.model.AbstractBuild build, hudson.model.TaskListener listener)  
    void onStarted​(hudson.model.AbstractBuild build, hudson.model.TaskListener listener)  

    Methods inherited from class hudson.model.listeners.RunListener

    all, fireCompleted, fireDeleted, fireFinalized, fireInitialize, fireStarted, onDeleted, onFinalized, onInitialize, register, setUpEnvironment, unregister

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • onStarted

      public void onStarted​(hudson.model.AbstractBuild build, hudson.model.TaskListener listener)
      Overrides:
      onStarted in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
    • onCompleted

      public void onCompleted​(hudson.model.AbstractBuild build, @Nonnull hudson.model.TaskListener listener)
      Overrides:
      onCompleted in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild>