Package org.jenkinsci.plugins.codesonar
Class CodeSonarBuildAction
- java.lang.Object
-
- org.jenkinsci.plugins.codesonar.CodeSonarBuildAction
-
- All Implemented Interfaces:
hudson.model.Action
,hudson.model.ModelObject
public class CodeSonarBuildAction extends Object implements hudson.model.Action
- Author:
- andrius
-
-
Constructor Summary
Constructors Constructor Description CodeSonarBuildAction(CodeSonarBuildActionDTO buildActionDTO, hudson.model.Run<?,?> run, String projectName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doReportGraphs(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
String
getAnalysisUrl()
CodeSonarBuildActionDTO
getBuildActionDTO()
List<org.javatuples.Pair<String,String>>
getConditionNamesAndResults()
Get results of conditions to display on build summary page.String
getDisplayName()
String
getIconFileName()
CodeSonarBuildAction
getPreviousAction()
String
getProjectName()
String
getUrlName()
Get hub analysis URL for build summary page.
-
-
-
Constructor Detail
-
CodeSonarBuildAction
public CodeSonarBuildAction(CodeSonarBuildActionDTO buildActionDTO, hudson.model.Run<?,?> run, String projectName)
-
-
Method Detail
-
getProjectName
public String getProjectName()
-
getAnalysisUrl
public String getAnalysisUrl()
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfacehudson.model.Action
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfacehudson.model.Action
- Specified by:
getDisplayName
in interfacehudson.model.ModelObject
-
getUrlName
public String getUrlName()
Get hub analysis URL for build summary page.- Specified by:
getUrlName
in interfacehudson.model.Action
-
getBuildActionDTO
public CodeSonarBuildActionDTO getBuildActionDTO()
-
getConditionNamesAndResults
public List<org.javatuples.Pair<String,String>> getConditionNamesAndResults()
Get results of conditions to display on build summary page.
-
doReportGraphs
public void doReportGraphs(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
- Throws:
IOException
-
getPreviousAction
public CodeSonarBuildAction getPreviousAction()
-
-