Class ForensicsJobAction
java.lang.Object
io.jenkins.plugins.util.JobAction<ForensicsBuildAction>
io.jenkins.plugins.echarts.AsyncTrendJobAction<ForensicsBuildAction>
io.jenkins.plugins.echarts.AsyncConfigurableTrendJobAction<ForensicsBuildAction>
io.jenkins.plugins.forensics.miner.ForensicsJobAction
- All Implemented Interfaces:
Action
,ModelObject
,io.jenkins.plugins.echarts.AsyncConfigurableTrendChart
,io.jenkins.plugins.echarts.AsyncTrendChart
public class ForensicsJobAction
extends io.jenkins.plugins.echarts.AsyncConfigurableTrendJobAction<ForensicsBuildAction>
A job action displays a link on the side panel of a job that refers to the last build that contains forensic results
(i.e. a
ForensicsBuildAction
with a RepositoryStatistics
instance). This action also is responsible
to render the historical trend via its associated 'floatingBox.jelly' view.- Author:
- Ullrich Hafner
-
Constructor Summary
ConstructorsConstructorDescriptionForensicsJobAction
(Job<?, ?> owner, String scmKey) Creates a new instance ofForensicsJobAction
. -
Method Summary
Modifier and TypeMethodDescriptionprotected Iterable
<? extends edu.hm.hafner.echarts.BuildResult<ForensicsBuildAction>> protected edu.hm.hafner.echarts.LinesChartModel
createChartModel
(String configuration) Returns the icon URL for the side-panel in the job screen.Methods inherited from class io.jenkins.plugins.echarts.AsyncConfigurableTrendJobAction
createChartModel, getBuildTrendModel, getConfigurableBuildTrendModel
Methods inherited from class io.jenkins.plugins.echarts.AsyncTrendJobAction
isTrendVisible
Methods inherited from class io.jenkins.plugins.util.JobAction
doIndex, getBuildActionClass, getLatestAction, getOwner
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jenkins.plugins.echarts.AsyncConfigurableTrendChart
isTrendVisible
-
Constructor Details
-
ForensicsJobAction
Creates a new instance ofForensicsJobAction
.- Parameters:
owner
- the job that owns this actionscmKey
- key of the repository
-
-
Method Details
-
getScmKey
-
createBuildHistory
protected Iterable<? extends edu.hm.hafner.echarts.BuildResult<ForensicsBuildAction>> createBuildHistory()- Overrides:
createBuildHistory
in classio.jenkins.plugins.echarts.AsyncTrendJobAction<ForensicsBuildAction>
-
createChartModel
- Specified by:
createChartModel
in classio.jenkins.plugins.echarts.AsyncConfigurableTrendJobAction<ForensicsBuildAction>
-
getDisplayName
-
getIconFileName
Returns the icon URL for the side-panel in the job screen. If there is no valid result yet, thennull
is returned.- Returns:
- the icon URL for the side-panel in the job screen
-
getUrlName
-