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

java.lang.Object
  extended by hudson.model.InvisibleAction
      extended by com.sonyericsson.hudson.plugins.gerrit.trigger.replication.ReplicationFailedAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class ReplicationFailedAction
extends hudson.model.InvisibleAction

Action to mark a build that must fail because replication failed. ReplicationFailedHandler will fail the build if tagged with this action.

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

Constructor Summary
ReplicationFailedAction(String reason)
          Standard constructor.
 
Method Summary
 String getReason()
          The reason of the Failed replication.
 
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationFailedAction

public ReplicationFailedAction(String reason)
Standard constructor.

Parameters:
reason - The reason of the Failed replication
Method Detail

getReason

public String getReason()
The reason of the Failed replication.

Returns:
the reason


Copyright © 2004-2014. All Rights Reserved.