Class StopJobWorker

java.lang.Object
org.gearman.worker.AbstractGearmanFunction
hudson.plugins.gearman.StopJobWorker
All Implemented Interfaces:
Callable<org.gearman.client.GearmanJobResult>, org.gearman.worker.GearmanFunction

public class StopJobWorker extends org.gearman.worker.AbstractGearmanFunction
This is a gearman function that will cancel/abort jenkins builds
Author:
Khai Do
  • Field Summary

    Fields inherited from class org.gearman.worker.AbstractGearmanFunction

    data, jobHandle, listeners, name, uniqueId
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gearman.client.GearmanJobResult
     

    Methods inherited from class org.gearman.worker.AbstractGearmanFunction

    call, fireEvent, getJobHandle, getName, getUniqueId, registerEventListener, sendData, sendException, sendStatus, sendWarning, setData, setJobHandle, setUniqueId

    Methods inherited from class java.lang.Object

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

    • StopJobWorker

      public StopJobWorker()
  • Method Details

    • executeFunction

      public org.gearman.client.GearmanJobResult executeFunction()
      Specified by:
      executeFunction in class org.gearman.worker.AbstractGearmanFunction