public static final class WaveOptions.Builder
extends java.lang.Object
WaveOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WaveOptions |
build()
Builds the configured instance.
|
WaveOptions.Builder |
post(java.util.List<? extends Step> post)
Sets the value of
WaveOptions.getPost() |
WaveOptions.Builder |
pre(java.util.List<? extends Step> pre)
Sets the value of
WaveOptions.getPre() |
public WaveOptions.Builder post(java.util.List<? extends Step> post)
WaveOptions.getPost()
post
- Additional steps to run after all of the stages in the wave.this
public WaveOptions.Builder pre(java.util.List<? extends Step> pre)
WaveOptions.getPre()
pre
- Additional steps to run before any of the stages in the wave.this
public WaveOptions build()
WaveOptions
java.lang.NullPointerException
- if any required attribute was not provided