Package com.redwood.scheduler.api.model
Class RestartStepOptions.Builder
- java.lang.Object
-
- com.redwood.scheduler.api.model.RestartStepOptions.Builder
-
- Enclosing class:
- RestartStepOptions
public static class RestartStepOptions.Builder extends Object
The RestartStepOptions can just be instantiated using an instance of the class Builder. For example: RestartStepOptions options = new RestartStepOptions.Builder().holdOnRestart(true).waitForCompletion(false).useOldDefinitions(true).build();
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestartStepOptions
build()
RestartStepOptions.Builder
holdOnRestart(boolean value)
RestartStepOptions.Builder
useOldDefinitions(boolean value)
RestartStepOptions.Builder
waitForCompletion(boolean value)
-
-
-
Method Detail
-
useOldDefinitions
public RestartStepOptions.Builder useOldDefinitions(boolean value)
-
holdOnRestart
public RestartStepOptions.Builder holdOnRestart(boolean value)
-
waitForCompletion
public RestartStepOptions.Builder waitForCompletion(boolean value)
-
build
public RestartStepOptions build()
-
-