Class BenchmarkProjectAction
- java.lang.Object
-
- org.jenkinsci.plugins.benchmark.core.BenchmarkProjectAction
-
- All Implemented Interfaces:
Action
,ModelObject
,SimpleBuildStep.LastBuildAction
@ExportedBean public class BenchmarkProjectAction extends Object implements Action, SimpleBuildStep.LastBuildAction
Job action = icon on the left menu- Since:
- 5/16/2017.
- Author:
- Daniel Mercier
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Api
getApi()
Exposes this object to the remote API.String
getAPIURL()
Get the API addressString
getBottomMessage()
Get box position from text direction (left to right/right to left)String
getCondensedTable()
Get the HTML condensed contentBoolean
getContentAvailable()
Identify whether results are availableBenchmarkPublisher
getCore()
String
getCSVCondensedBody()
String
getCSVCondensedHeader()
String
getCSVCondensedTable()
Get the CSV condensed contentString
getCSVRawBody()
String
getCSVRawHeader()
String
getCSVRawStateBody()
String
getCSVRawStateTable()
Get the CSV raw contentString
getCSVRawTable()
Get the CSV raw contentString
getDisplayName()
String
getEmptyTableWord()
String
getFirstWord()
String
getIconFileName()
String
getLastWord()
String
getNextWord()
int
getNumberOfHeads()
Provide number of headersString
getPreviousWord()
Job<?,?>
getProject()
Collection<? extends Action>
getProjectActions()
String
getRawTable()
Get the HTML raw contentString
getResultPageURL()
Get the absolute addressString
getRightBoxPosition()
Get box position from text direction (left to right/right to left)String
getRootPageURL()
Get the absolute addressString
getTextDirection()
Get text direction (left to right/right to left)String
getUrlName()
String
getZeroRecordsWord()
void
resetClock()
Reset clock that keeps the result loaded in memoryvoid
setResultSelected(Integer result)
-
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
getTextDirection
@FrontendMethod public String getTextDirection()
Get text direction (left to right/right to left)- Returns:
- rtl or ltr
-
getRightBoxPosition
@FrontendMethod public String getRightBoxPosition()
Get box position from text direction (left to right/right to left)- Returns:
- right or left
-
getBottomMessage
@FrontendMethod public String getBottomMessage()
Get box position from text direction (left to right/right to left)- Returns:
- right or left
-
getRootPageURL
@FrontendMethod public String getRootPageURL()
Get the absolute address- Returns:
- Absolute address
-
getResultPageURL
@FrontendMethod public String getResultPageURL()
Get the absolute address- Returns:
- Absolute address
-
getAPIURL
@FrontendMethod public String getAPIURL()
Get the API address- Returns:
- Api address
-
getContentAvailable
@FrontendMethod public Boolean getContentAvailable()
Identify whether results are available- Returns:
- Whether content is available
-
getNumberOfHeads
@FrontendMethod public int getNumberOfHeads()
Provide number of headers- Returns:
- Number of row heads
-
getRawTable
@FrontendMethod public String getRawTable()
Get the HTML raw content- Returns:
- HTML raw content
-
getCondensedTable
@JavaScriptMethod public String getCondensedTable()
Get the HTML condensed content- Returns:
- HTML condensed content
-
getEmptyTableWord
@FrontendMethod public String getEmptyTableWord()
-
getZeroRecordsWord
@FrontendMethod public String getZeroRecordsWord()
-
getFirstWord
@FrontendMethod public String getFirstWord()
-
getPreviousWord
@FrontendMethod public String getPreviousWord()
-
getNextWord
@FrontendMethod public String getNextWord()
-
getLastWord
@FrontendMethod public String getLastWord()
-
setResultSelected
@JavaScriptMethod public void setResultSelected(Integer result)
-
resetClock
@JavaScriptMethod public void resetClock()
Reset clock that keeps the result loaded in memory
-
getCSVRawTable
@JavaScriptMethod public String getCSVRawTable()
Get the CSV raw content- Returns:
- CSV raw content
-
getCSVRawHeader
@Exported(visibility=2) public String getCSVRawHeader()
-
getCSVRawBody
@Exported(visibility=2) public String getCSVRawBody()
-
getCSVRawStateTable
@JavaScriptMethod public String getCSVRawStateTable()
Get the CSV raw content- Returns:
- CSV raw content
-
getCSVRawStateBody
@Exported(visibility=2) public String getCSVRawStateBody()
-
getCSVCondensedTable
@JavaScriptMethod public String getCSVCondensedTable()
Get the CSV condensed content- Returns:
- CSV condensed content
-
getCSVCondensedHeader
@Exported(visibility=2) public String getCSVCondensedHeader()
-
getCSVCondensedBody
@Exported(visibility=2) public String getCSVCondensedBody()
-
getProjectActions
public Collection<? extends Action> getProjectActions()
- Specified by:
getProjectActions
in interfaceSimpleBuildStep.LastBuildAction
-
getApi
public Api getApi()
Exposes this object to the remote API.- Returns:
- Construct that displays this class content.
-
getProject
public Job<?,?> getProject()
-
getCore
public BenchmarkPublisher getCore()
-
-