Package io.jenkins.plugins.monitoring
Class MonitoringCustomAction
- java.lang.Object
-
- hudson.model.InvisibleAction
-
- io.jenkins.plugins.monitoring.MonitoringCustomAction
-
- All Implemented Interfaces:
Action,ModelObject
public class MonitoringCustomAction extends InvisibleAction
This action is added toRun, if configuration is set in the Jenkinsfile. Therefore the portlets of this actionMonitoringCustomActionoverwrites the one from theMonitoringDefaultActionadded by theMonitoringDefaultActionFactory.- Author:
- Simon Symhoven
-
-
Constructor Summary
Constructors Constructor Description MonitoringCustomAction(String portlets)Creates a new instance ofMonitoringCustomAction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPortlets()-
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
-
-
-
-
Constructor Detail
-
MonitoringCustomAction
public MonitoringCustomAction(String portlets)
Creates a new instance ofMonitoringCustomAction.- Parameters:
portlets- the portlets as json array string to be add.
-
-
Method Detail
-
getPortlets
public String getPortlets()
-
-