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 theMergeQueryat theRevision.HEAD.Retrieves the merged entry of theMergeQueryat theRevision.
-
Method Details
-
get
Retrieves the merged entry of theMergeQueryat theRevision.HEAD. Only JSON entry merge is currently supported. The JSON files are merged sequentially as specified in theMergeQuery.Note that only
ObjectNodeis recursively merged traversing the children. Other node types are simply replaced.- Returns:
- the
MergedEntrywhich contains the result of the merge
-
get
Retrieves the merged entry of theMergeQueryat theRevision. Only JSON entry merge is currently supported. The JSON files are merged sequentially as specified in theMergeQuery.Note that only
ObjectNodeis recursively merged traversing the children. Other node types are simply replaced.- Returns:
- the
MergedEntrywhich contains the result of the merge
-