Class TestResultsAnalyzerAction
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Actionable
org.jenkinsci.plugins.testresultsanalyzer.TestResultsAnalyzerAction
- All Implemented Interfaces:
Action, ModelObject, SearchableModelObject, SearchItem, ModelObjectWithContextMenu
-
Nested Class Summary
Nested classes/interfaces inherited from interface ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDownloads the test results of the latest builds as CSV.voidThe test results of the latest builds as a tree of packages, classes and tests, for the analyzer page.The configuration of the analyzer page, read by its script.final StringThe display name for the action.booleanfinal StringThe icon for this action.voidintSearch url for this action.booleanbooleanbooleanbooleanbooleanThe url for this action.booleanbooleanbooleanMethods inherited from class Actionable
addAction, addOrReplaceAction, doContextMenu, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, getDynamic, removeAction, removeActions, replaceAction, replaceActionsMethods inherited from class AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendErrorMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SearchItem
getSearchGroup, getSearchIcon
-
Constructor Details
-
TestResultsAnalyzerAction
-
-
Method Details
-
getDisplayName
The display name for the action.- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject- Returns:
- the name as String
-
getIconFileName
The icon for this action.- Specified by:
getIconFileNamein interfaceAction- Returns:
- the icon file as String
-
getUrlName
The url for this action.- Specified by:
getUrlNamein interfaceAction- Returns:
- the url as String
-
getSearchUrl
Search url for this action.- Specified by:
getSearchUrlin interfaceSearchItem- Returns:
- the url as String
-
getProject
-
isUpdated
public boolean isUpdated() -
getJsonLoadData
public void getJsonLoadData() -
doData
@GET public void doData(org.kohsuke.stapler.StaplerResponse2 rsp, @QueryParameter String builds, @QueryParameter boolean hideConfigMethods) throws IOException The test results of the latest builds as a tree of packages, classes and tests, for the analyzer page.- Parameters:
builds- the number of builds, or -1 for all of them- Throws:
IOException
-
doCsv
@GET public void doCsv(org.kohsuke.stapler.StaplerResponse2 rsp, @QueryParameter String builds, @QueryParameter boolean durations) throws IOException Downloads the test results of the latest builds as CSV.- Parameters:
builds- the number of builds, or -1 for all of themdurations- whether to export run times instead of statuses- Throws:
IOException
-
getBootstrapJson
The configuration of the analyzer page, read by its script. Used byindex.jelly. -
getNoOfBuilds
-
getNoOfRunsToFetch
public int getNoOfRunsToFetch() -
getShowAllBuilds
public boolean getShowAllBuilds() -
getShowLineGraph
public boolean getShowLineGraph() -
getShowBarGraph
public boolean getShowBarGraph() -
getShowPieGraph
public boolean getShowPieGraph() -
getShowBuildTime
public boolean getShowBuildTime() -
getHideConfigurationMethods
public boolean getHideConfigurationMethods() -
getChartDataType
-
getRunTimeLowThreshold
-
getRunTimeHighThreshold
-
isUseCustomStatusNames
public boolean isUseCustomStatusNames() -
isUseCustomStatusColors
public boolean isUseCustomStatusColors() -
getPassedRepresentation
-
getFailedRepresentation
-
getSkippedRepresentation
-
getNaRepresentation
-
getPassedColor
-
getFailedColor
-
getSkippedColor
-
getNaColor
-