Class DeflakeAction
java.lang.Object
com.google.jenkins.flakyTestHandler.plugin.deflake.DeflakeAction
- All Implemented Interfaces:
Action
,ModelObject
Deflake action used to configure and trigger deflake build
- Author:
- Qingzhou Luo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doIndex
(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) Handles the rebuild request and redirects to deflake config pagevoid
doSubmitDeflakeRequest
(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) Get parameters from submitted form and submit deflake request
-
Constructor Details
-
DeflakeAction
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
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 issuesjavax.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
-