java.lang.Object
com.google.jenkins.flakyTestHandler.plugin.deflake.DeflakeAction
All Implemented Interfaces:
Action, ModelObject

public class DeflakeAction extends Object implements Action
Deflake action used to configure and trigger deflake build
Author:
Qingzhou Luo
  • Constructor Details

  • Method Details

    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • doIndex

      public void doIndex(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException, javax.servlet.ServletException, InterruptedException
      Handles the rebuild request and redirects to deflake config page
      Parameters:
      request - StaplerRequest the request.
      response - StaplerResponse the response handler.
      Throws:
      IOException - in case of Stapler issues
      javax.servlet.ServletException - if something unfortunate happens.
      InterruptedException - if something unfortunate happens.
    • doSubmitDeflakeRequest

      public void doSubmitDeflakeRequest(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException, javax.servlet.ServletException, InterruptedException
      Get parameters from submitted form and submit deflake request
      Throws:
      IOException
      javax.servlet.ServletException
      InterruptedException