Class SleepStep

  • All Implemented Interfaces:
    ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

    public final class SleepStep
    extends org.jenkinsci.plugins.workflow.steps.Step
    • Constructor Detail

      • SleepStep

        @DataBoundConstructor
        public SleepStep​(int time)
    • Method Detail

      • setUnit

        @DataBoundSetter
        public void setUnit​(TimeUnit unit)
      • getTime

        public int getTime()
      • start

        public org.jenkinsci.plugins.workflow.steps.StepExecution start​(org.jenkinsci.plugins.workflow.steps.StepContext context)
                                                                 throws Exception
        Specified by:
        start in class org.jenkinsci.plugins.workflow.steps.Step
        Throws:
        Exception