Class ForensicsJobAction
java.lang.Object
io.jenkins.plugins.util.JobAction<T>
io.jenkins.plugins.echarts.AsyncTrendJobAction<T>
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.LinesChartModelcreateChartModel(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, getConfigurableBuildTrendModelMethods inherited from class io.jenkins.plugins.echarts.AsyncTrendJobAction
isTrendVisibleMethods inherited from class io.jenkins.plugins.util.JobAction
doIndex, getBuildActionClass, getLatestAction, getOwnerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
createBuildHistoryin classio.jenkins.plugins.echarts.AsyncTrendJobAction<ForensicsBuildAction>
-
createChartModel
- Specified by:
createChartModelin 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, thennullis returned.- Returns:
- the icon URL for the side-panel in the job screen
-
getUrlName
-