public static final class StagePlacement.Builder extends Object
StagePlacement| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
StagePlacement |
build()
Builds the configured instance.
|
StagePlacement.Builder |
withAtIndex(Number value)
Sets the value of AtIndex
|
StagePlacement.Builder |
withJustAfter(Stage value)
Sets the value of JustAfter
|
StagePlacement.Builder |
withRightBefore(Stage value)
Sets the value of RightBefore
|
public StagePlacement.Builder withAtIndex(@Nullable Number value)
value - Inserts the new Stage at the given index in the Pipeline,
moving the Stage currently at that index,
and any subsequent ones, one index down.
Indexing starts at 0.
The maximum allowed value is Pipeline#stageCount,
which will insert the new Stage at the end of the Pipeline.thispublic StagePlacement.Builder withJustAfter(@Nullable Stage value)
value - Inserts the new Stage as a child of the given Stage
(changing its current child Stage, if it had one).thispublic StagePlacement.Builder withRightBefore(@Nullable Stage value)
value - Inserts the new Stage as a parent of the given Stage
(changing its current parent Stage, if it had one).thispublic StagePlacement build()
StagePlacementNullPointerException - if any required attribute was not providedCopyright © 2018. All rights reserved.