Class ProjectHistoryAction
- java.lang.Object
-
- com.synopsys.defensics.jenkins.result.history.ProjectHistoryAction
-
- All Implemented Interfaces:
Action
,ModelObject
public class ProjectHistoryAction extends Object implements Action
This action presents the defensics failure trend chart.
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_BUILDS
-
Constructor Summary
Constructors Constructor Description ProjectHistoryAction(Job<?,?> job)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doTrendGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
void
doTrendMap(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse reponse)
String
getDisplayName()
String
getIconFileName()
String
getUrlName()
boolean
shouldShowTrendGraph()
-
-
-
Field Detail
-
MAX_BUILDS
public static final int MAX_BUILDS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProjectHistoryAction
public ProjectHistoryAction(Job<?,?> job)
Constructor.- Parameters:
job
- The job for which this action should be created. The failures of the job's each run are used to create the trend chart.
-
-
Method Detail
-
getIconFileName
@CheckForNull public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
@CheckForNull public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
@CheckForNull public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
shouldShowTrendGraph
public boolean shouldShowTrendGraph()
-
doTrendGraph
public void doTrendGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException
- Throws:
IOException
-
doTrendMap
public void doTrendMap(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse reponse) throws IOException
- Throws:
IOException
-
-