Package com.linecorp.centraldogma.client
Class FilesRequest
java.lang.Object
com.linecorp.centraldogma.client.FilesRequest
Prepares to send a
CentralDogma.getFiles(String, String, Revision, PathPattern)
or
CentralDogma.listFiles(String, String, Revision, PathPattern)
request to the
Central Dogma repository.-
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture
<Map<String, Entry<?>>> get()
Retrieves the files matched by the path pattern at theRevision.HEAD
.CompletableFuture
<Map<String, Entry<?>>> Retrieves the files matched by the path pattern at theRevision
.list()
Retrieves the list of the files matched by the given path pattern at theRevision.HEAD
.Retrieves the list of the files matched by the given path pattern at theRevision
.
-
Method Details
-
list
Retrieves the list of the files matched by the given path pattern at theRevision.HEAD
.- Returns:
- a
Map
of file path and type pairs
-
list
Retrieves the list of the files matched by the given path pattern at theRevision
.- Returns:
- a
Map
of file path and type pairs
-
get
Retrieves the files matched by the path pattern at theRevision.HEAD
. -
get
Retrieves the files matched by the path pattern at theRevision
.
-