- ofTextUpsert
Returns a newly-created Change whose type is ChangeType#UPSERT_TEXT.
- ofJsonPatch
Returns a newly-created Change whose type is ChangeType#APPLY_JSON_PATCH.
- ofJsonUpsert
Returns a newly-created Change whose type is ChangeType#UPSERT_JSON.
- ofRemoval
Returns a newly-created Change whose type is ChangeType#REMOVE.
- ofRename
Returns a newly-created Change whose type is ChangeType#RENAME.
- ofTextPatch
Returns a newly-created Change whose type is ChangeType#APPLY_TEXT_PATCH.
- content
Returns the content of the Change, which depends on the #type().
- type
Returns the type of the Change.
- path
Returns the path of the Change.
- contentAsText
Returns the textual representation of #content().
- fromFile
Creates a new Change from the file at the specified location.