aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschristou882012-08-31 21:10:40 (EDT)
committerschristou882012-08-31 21:10:40 (EDT)
commitb2e195fdfd26adcf7c2869435e35ad0a32092770 (patch)
tree37da4901f8023acbdae2596037bc482f9570f65f
parentfef7d25020ca8e2fb35f92e571e87e9c8d13fd33 (diff)
downloadorg.eclipse.hudson.core-b2e195fdfd26adcf7c2869435e35ad0a32092770.zip
org.eclipse.hudson.core-b2e195fdfd26adcf7c2869435e35ad0a32092770.tar.gz
org.eclipse.hudson.core-b2e195fdfd26adcf7c2869435e35ad0a32092770.tar.bz2
Fix Sleep Build Triggerrefs/changes/57/7557/1
-rw-r--r--hudson-test-framework/src/main/java/org/jvnet/hudson/test/SleepBuilder.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/hudson-test-framework/src/main/java/org/jvnet/hudson/test/SleepBuilder.java b/hudson-test-framework/src/main/java/org/jvnet/hudson/test/SleepBuilder.java
index 81041f8..9dbeb61 100644
--- a/hudson-test-framework/src/main/java/org/jvnet/hudson/test/SleepBuilder.java
+++ b/hudson-test-framework/src/main/java/org/jvnet/hudson/test/SleepBuilder.java
@@ -9,7 +9,7 @@
*
* Contributors:
*
- * Kohsuke Kawaguchi
+ * Kohsuke Kawaguchi, Steven Christou
*
*
*******************************************************************************/
@@ -25,6 +25,8 @@ import hudson.tasks.Builder;
import java.io.IOException;
+import org.kohsuke.stapler.DataBoundConstructor;
+
/**
* {@link Builder} that just sleeps for the specified amount of milli-seconds.
*
@@ -34,6 +36,7 @@ public class SleepBuilder extends Builder {
public final long time;
+ @DataBoundConstructor
public SleepBuilder(long time) {
this.time = time;
}