com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.job.rest
Class BuildStartedRestCommandJob

java.lang.Object
  extended by com.sonymobile.tools.gerrit.gerritevents.workers.rest.AbstractRestCommandJob
      extended by 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
BuildStartedRestCommandJob(IGerritHudsonTriggerConfig config, hudson.model.AbstractBuild build, hudson.model.TaskListener listener, com.sonymobile.tools.gerrit.gerritevents.dto.events.ChangeBasedEvent event, BuildsStartedStats stats)
          Constructor.
 
Method Summary
protected  com.sonymobile.tools.gerrit.gerritevents.dto.rest.ReviewInput createReview()
          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 Detail

BuildStartedRestCommandJob

public BuildStartedRestCommandJob(IGerritHudsonTriggerConfig config,
                                  hudson.model.AbstractBuild build,
                                  hudson.model.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 Detail

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


Copyright © 2004-2014. All Rights Reserved.