public class CodeDxProjectAction extends Object implements hudson.model.Action, Serializable
Modifier and Type | Field and Description |
---|---|
static int |
CHART_HEIGHT |
static int |
CHART_WIDTH |
hudson.model.AbstractProject<?,?> |
project |
static String |
URL_NAME |
Constructor and Description |
---|
CodeDxProjectAction(hudson.model.AbstractProject<?,?> project,
AnalysisResultConfiguration analysisResultConfiguration,
String latestAnalysisUrl) |
Modifier and Type | Method and Description |
---|---|
void |
doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Redirects the index page to the last result.
|
void |
doSeverityTrend(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Display the severity trend graph.
|
void |
doStatusTrend(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Display the status trend graph.
|
AnalysisResultConfiguration |
getAnalysisResultConfiguration() |
String |
getDisplayName() |
String |
getIconFileName() |
hudson.model.AbstractBuild<?,?> |
getLastFinishedBuild()
Returns the last finished build.
|
CodeDxBuildAction |
getLastFinishedBuildAction()
Get build action of the last finished build.
|
String |
getLatestAnalysisUrl() |
String |
getUrlName() |
boolean |
hasValidResults() |
boolean |
showTablesAndCharts() |
public static final String URL_NAME
public static final int CHART_WIDTH
public static final int CHART_HEIGHT
public hudson.model.AbstractProject<?,?> project
public CodeDxProjectAction(hudson.model.AbstractProject<?,?> project, AnalysisResultConfiguration analysisResultConfiguration, String latestAnalysisUrl)
public String getIconFileName()
getIconFileName
in interface hudson.model.Action
public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
public String getUrlName()
getUrlName
in interface hudson.model.Action
public String getLatestAnalysisUrl()
public AnalysisResultConfiguration getAnalysisResultConfiguration()
public boolean showTablesAndCharts()
public void doIndex(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException
request
- Stapler requestresponse
- Stapler responseIOException
- in case of an errorpublic hudson.model.AbstractBuild<?,?> getLastFinishedBuild()
null
if there is no
such buildpublic CodeDxBuildAction getLastFinishedBuildAction()
public final boolean hasValidResults()
public void doSeverityTrend(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException
request
- Stapler requestresponse
- Stapler responseIOException
- in case of an errorpublic void doStatusTrend(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException
request
- Stapler requestresponse
- Stapler responseIOException
- in case of an errorCopyright © 2004-2017. All Rights Reserved.