com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.actions
Class RetriggerAllAction

java.lang.Object
  extended by com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.actions.RetriggerAllAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class RetriggerAllAction
extends Object
implements hudson.model.Action

Action that retriggers all builds in one event with the same event parameters as the build this trigger is in.

Author:
Robert Sandell <robert.sandell@sonyericsson.com>

Constructor Summary
RetriggerAllAction()
          Default constructor.
RetriggerAllAction(TriggerContext context)
          Standard Constructor.
 
Method Summary
 void doIndex(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
          Handles the request to re-trigger and redirects back to the page that called.
 String getDisplayName()
           
 String getIconFileName()
           
 String getUrlName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetriggerAllAction

public RetriggerAllAction(TriggerContext context)
Standard Constructor.

Parameters:
context - the original GerritCause's context.

RetriggerAllAction

public RetriggerAllAction()
Default constructor. Only use this if you are a serialize.r

Method Detail

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

doIndex

public void doIndex(org.kohsuke.stapler.StaplerRequest request,
                    org.kohsuke.stapler.StaplerResponse response)
             throws IOException
Handles the request to re-trigger and redirects back to the page that called.

Parameters:
request - StaplerRequest the request.
response - StaplerResponse the response handler.
Throws:
IOException - in case of Stapler issues


Copyright © 2004-2013. All Rights Reserved.