java.lang.Object
com.sonymobile.tools.gerrit.gerritevents.workers.rest.AbstractRestCommandJob
com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.job.rest.BuildStartedRestCommandJob
All Implemented Interfaces:
Runnable

public class BuildStartedRestCommandJob extends com.sonymobile.tools.gerrit.gerritevents.workers.rest.AbstractRestCommandJob
A job for the GerritSendCommandQueue that sends a build started message.
  • Field Summary

    Fields inherited from class com.sonymobile.tools.gerrit.gerritevents.workers.rest.AbstractRestCommandJob

    altLogger, event
  • Constructor Summary

    Constructors
    Constructor
    Description
    BuildStartedRestCommandJob(IGerritHudsonTriggerConfig config, Run build, TaskListener listener, com.sonymobile.tools.gerrit.gerritevents.dto.events.ChangeBasedEvent event, BuildsStartedStats stats)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.sonymobile.tools.gerrit.gerritevents.dto.rest.ReviewInput
    Review input message.

    Methods inherited from class com.sonymobile.tools.gerrit.gerritevents.workers.rest.AbstractRestCommandJob

    getConfig, run

    Methods inherited from class java.lang.Object

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

    • BuildStartedRestCommandJob

      public BuildStartedRestCommandJob(IGerritHudsonTriggerConfig config, Run build, TaskListener listener, com.sonymobile.tools.gerrit.gerritevents.dto.events.ChangeBasedEvent event, BuildsStartedStats stats)
      Constructor.
      Parameters:
      config - config
      build - build
      listener - listener
      event - event
      stats - stats
  • Method Details

    • createReview

      protected com.sonymobile.tools.gerrit.gerritevents.dto.rest.ReviewInput createReview()
      Review input message.
      Specified by:
      createReview in class com.sonymobile.tools.gerrit.gerritevents.workers.rest.AbstractRestCommandJob
      Returns:
      ReviewInput