public class ApplyChangeOptions extends Object
Allows to update the list of changes before applying them to the resulting document.
Constructor and Description |
---|
ApplyChangeOptions()
Initializes a new instance of the @
ApplyChangeOptions class |
ApplyChangeOptions(ChangeInfo[] changes)
Initializes a new instance of the @
ApplyChangeOptions class |
ApplyChangeOptions(List<ChangeInfo> changes)
Initializes a new instance of the @
ApplyChangeOptions class |
Modifier and Type | Method and Description |
---|---|
ChangeInfo[] |
getChanges()
List of changes that must be applied to the resulting document.
|
boolean |
isSaveOriginalState()
Is save original state boolean.
|
void |
setChanges(ChangeInfo[] value)
List of changes that must be applied to the resulting document.
|
void |
setChanges(List<ChangeInfo> value)
List of changes that must be applied to the resulting document.
|
void |
setSaveOriginalState(boolean saveOriginalState)
Sets save original state.
|
public ApplyChangeOptions()
ApplyChangeOptions
classpublic ApplyChangeOptions(ChangeInfo[] changes)
ApplyChangeOptions
classchanges
- the changespublic ApplyChangeOptions(List<ChangeInfo> changes)
ApplyChangeOptions
classchanges
- the changespublic final ChangeInfo[] getChanges()
List of changes that must be applied to the resulting document.
public boolean isSaveOriginalState()
public final void setChanges(ChangeInfo[] value)
List of changes that must be applied to the resulting document.
value
- changespublic final void setChanges(List<ChangeInfo> value)
List of changes that must be applied to the resulting document.
value
- changespublic void setSaveOriginalState(boolean saveOriginalState)
saveOriginalState
- the save original state