com.sonyericsson.hudson.plugins.gerrit.trigger.replication
Class ReplicationFailedHandler

java.lang.Object
  extended by hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>
      extended by com.sonyericsson.hudson.plugins.gerrit.trigger.replication.ReplicationFailedHandler
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public class ReplicationFailedHandler
extends hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>

Look for ReplicationFailedAction in the build and fail the build if found.

Author:
Hugo Arès <hugo.ares@ericsson.com>

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
ReplicationFailedHandler()
           
 
Method Summary
 hudson.model.Environment setUpEnvironment(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireStarted, onCompleted, onDeleted, onFinalized, onStarted, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationFailedHandler

public ReplicationFailedHandler()
Method Detail

setUpEnvironment

public hudson.model.Environment setUpEnvironment(hudson.model.AbstractBuild build,
                                                 hudson.Launcher launcher,
                                                 hudson.model.BuildListener listener)
                                          throws IOException,
                                                 InterruptedException
Overrides:
setUpEnvironment in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>
Throws:
IOException
InterruptedException


Copyright © 2004-2014. All Rights Reserved.