Package io.forgeai.jenkins.actions
Class ForgeAIJobAction
java.lang.Object
io.forgeai.jenkins.actions.ForgeAIJobAction
- All Implemented Interfaces:
Action,ModelObject
ForgeAI on the job page: a chart of the composite score over recent builds, and a page listing them.
Added to any job whose recent builds ran
forgeAI.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classGeometry of the trend chart, in SVG user units, so the view only places what is computed here.static final classShows ForgeAI on jobs whose latest builds ran it.static final classOne horizontal grid line of the chart.static final classOne build in the trend. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChart()The trend, newest first, for the history table.Job<?, ?> getJob()getTrend()The most recent builds that ran ForgeAI, oldest first.static ForgeAIJobActionFor views rendered with the job as context, such as the job page's floating box.
-
Field Details
-
URL_NAME
- See Also:
-
-
Constructor Details
-
ForgeAIJobAction
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
getJob
-
of
For views rendered with the job as context, such as the job page's floating box. -
getTrend
The most recent builds that ran ForgeAI, oldest first. Looks at no more than the last 100 builds. -
getHistory
The trend, newest first, for the history table. -
getChart
-