Package com.linecorp.centraldogma.client
Class MergeRequest<T>
java.lang.Object
com.linecorp.centraldogma.client.MergeRequest<T>
Prepares to send a
CentralDogma.mergeFiles(String, String, Revision, MergeQuery)
request to the
Central Dogma repository.-
Method Summary
Modifier and TypeMethodDescriptionget()
Retrieves the merged entry of theMergeQuery
at theRevision.HEAD
.Retrieves the merged entry of theMergeQuery
at theRevision
.
-
Method Details
-
get
Retrieves the merged entry of theMergeQuery
at theRevision.HEAD
. Only JSON entry merge is currently supported. The JSON files are merged sequentially as specified in theMergeQuery
.Note that only
ObjectNode
is recursively merged traversing the children. Other node types are simply replaced.- Returns:
- the
MergedEntry
which contains the result of the merge
-
get
Retrieves the merged entry of theMergeQuery
at theRevision
. Only JSON entry merge is currently supported. The JSON files are merged sequentially as specified in theMergeQuery
.Note that only
ObjectNode
is recursively merged traversing the children. Other node types are simply replaced.- Returns:
- the
MergedEntry
which contains the result of the merge
-