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 jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe display name for the action.getExportCSV(String timeBased, String noOfBuildsNeeded) booleanfinal StringThe icon for this action.voidDeprecated.net.sf.json.JSONArraygetNoOfBuilds(String noOfbuildsNeeded) intSearch url for this action.booleanbooleanbooleanbooleanbooleanorg.kohsuke.stapler.HttpResponsegetTreeResult(UserConfig userConfig) The test history tree for the requested number of builds, as JSON.The url for this action.booleanbooleanbooleanMethods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, getDynamic, removeAction, removeActions, replaceAction, replaceActionsMethods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.search.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
-
getNoOfBuilds
-
isUpdated
public boolean isUpdated() -
getJsonLoadData
Deprecated.results are now loaded on demand for the number of builds requested, seegetTreeResult(UserConfig)Loads results for every completed build (up to the configured number of runs to fetch). -
getTreeResult
The test history tree for the requested number of builds, as JSON.Streamed rather than returned as a
JSONObject: with many builds and tests the tree has millions of cells, too many to hold asnet.sf.jsonobjects. -
getExportCSV
-
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
-
getTreeResult(UserConfig)