Package io.jenkins.plugins.monitoring
Class MonitoringWorkflowJobAction
- java.lang.Object
-
- io.jenkins.plugins.monitoring.MonitoringWorkflowJobAction
-
- All Implemented Interfaces:
Action,ModelObject
public class MonitoringWorkflowJobAction extends Object implements Action
This action displays a link on the side panel of aWorkflowJob. The action is only displayed if the job is a pull request, which is described in the associatedMonitoringWorkflowJobActionFactory. The action is responsible to reference the latest build of the job and navigates to the correspondingMonitoringDefaultAction.- Author:
- Simon Symhoven
-
-
Constructor Summary
Constructors Constructor Description MonitoringWorkflowJobAction(org.jenkinsci.plugins.workflow.job.WorkflowJob workflowJob)Creates a new instance ofMonitoringWorkflowJobAction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()StringgetIconFileName()StringgetUrlName()
-
-
-
Constructor Detail
-
MonitoringWorkflowJobAction
public MonitoringWorkflowJobAction(org.jenkinsci.plugins.workflow.job.WorkflowJob workflowJob)
Creates a new instance ofMonitoringWorkflowJobAction.- Parameters:
workflowJob- the job that owns owns this action.
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlNamein interfaceAction
-
-