public static class PatchMoveInstruction.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PatchMoveInstruction |
build() |
PatchMoveInstruction.Builder |
copy(PatchMoveInstruction model) |
PatchMoveInstruction.Builder |
from(String from)
The selection that is to be moved, with the same format and semantics as
selection . |
PatchMoveInstruction.Builder |
position(PatchMoveInstruction.Position position)
Where to insert the value in an array, relative to the first item in the selection.
|
PatchMoveInstruction.Builder |
selection(String selection) |
public PatchMoveInstruction.Builder selection(String selection)
public PatchMoveInstruction.Builder from(String from)
The selection that is to be moved, with the same format and semantics as selection
.
from
- the value to setpublic PatchMoveInstruction.Builder position(PatchMoveInstruction.Position position)
Where to insert the value in an array, relative to the first item in the selection. If there is no such item, then “BEFORE” specifies insertion at the first position in an array and “AFTER” specifies insertion at the last position. If the first item in the selection is not the child of an array, then this field has no effect.
position
- the value to setpublic PatchMoveInstruction build()
public PatchMoveInstruction.Builder copy(PatchMoveInstruction model)
Copyright © 2016–2024. All rights reserved.