Class ReplicationFailedAction

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

public class ReplicationFailedAction extends 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 Details

    • ReplicationFailedAction

      public ReplicationFailedAction(String reason)
      Standard constructor.
      Parameters:
      reason - The reason of the Failed replication
  • Method Details

    • getReason

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