public class SleepBuilder
extends hudson.tasks.Builder
Builder that just sleeps for the specified amount of milli-seconds.| Modifier and Type | Class and Description |
|---|---|
static class |
SleepBuilder.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
long |
time |
| Constructor and Description |
|---|
SleepBuilder(long time) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getDescriptor, getRequiredMonitorService, prebuildpublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionCopyright © 2004–2019. All rights reserved.