Package com.redwood.scheduler.api.model
Class RestartStepOptions
- java.lang.Object
-
- com.redwood.scheduler.api.model.RestartStepOptions
-
- All Implemented Interfaces:
Serializable
public class RestartStepOptions extends Object implements Serializable
When a step is requested to be restarted in a JobChain, there are options that need to be set to proceed with the restart. This class is the container of these options.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RestartStepOptions.Builder
The RestartStepOptions can just be instantiated using an instance of the class Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isHoldOnRestart()
Does the restart step HoldOnRestart.boolean
isUseOldDefinitions()
Does the restart step UseOldDefinitions.boolean
isWaitForCompletion()
Does the restart step should wait for the completion of an active step.String
toString()
-
-
-
Method Detail
-
isUseOldDefinitions
public boolean isUseOldDefinitions()
Does the restart step UseOldDefinitions.- Returns:
- Returns the useOldDefinitions.
-
isHoldOnRestart
public boolean isHoldOnRestart()
Does the restart step HoldOnRestart.- Returns:
- Returns the holdOnRestart.
-
isWaitForCompletion
public boolean isWaitForCompletion()
Does the restart step should wait for the completion of an active step.- Returns:
- waitForCompletion
-
-