Class Monitor

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
io.jenkins.plugins.monitoring.Monitor
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>, Serializable

public final class Monitor extends org.jenkinsci.plugins.workflow.steps.Step implements Serializable
This Step is responsible for the configuration of the monitoring dashboard via the corresponding Jenkinsfile.
Author:
Simon Symhoven
See Also:
  • Constructor Details

    • Monitor

      @DataBoundConstructor public Monitor(String portlets)
      Creates a new instance of Monitor.
      Parameters:
      portlets - the monitor configuration as json array string.
  • Method Details

    • getPortlets

      public String getPortlets()
    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext stepContext)
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.Step