Package com.linecorp.centraldogma.client
Class CentralDogmaRepository
java.lang.Object
com.linecorp.centraldogma.client.CentralDogmaRepository
Prepares to send requests to the Central Dogma repository.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a newCommitRequestthat is used to push theChanges to the Central Dogma repository.Returns a newCommitRequestthat is used to push theChanges to the Central Dogma repository.Returns a newPreviewDiffRequestthat is used to retrieve the preview diff of files in the Central Dogma repository.diff(PathPattern pathPattern) Returns a newDiffFilesRequestthat is used to retrieve the diff of files in the Central Dogma repository.<T> DiffRequest<T> Returns a newDiffRequestthat is used to retrieve the diff of the file in the Central Dogma repository.Returns a newPreviewDiffRequestthat is used to retrieve the preview diff of files in the Central Dogma repository.DiffRequest<?> Returns a newDiffRequestthat is used to retrieve the diff of the file in the Central Dogma repository.booleanfile(PathPattern pathPattern) Returns a newFilesRequestthat is used to retrieve or list files in the Central Dogma repository.<T> FileRequest<T> Returns a newFileRequestthat is used to retrieve the file in the Central Dogma repository.FileRequest<?> Returns a newFileRequestthat is used to retrieve the file in the Central Dogma repository.inthashCode()history()Returns a newHistoryRequestthat is used to retrieve the history of all files in the Central Dogma repository.history(PathPattern pathPattern) Returns a newHistoryRequestthat is used to retrieve the history of files in the Central Dogma repository.<T> MergeRequest<T> merge(MergeQuery<T> mergeQuery) Returns a newMergeRequestthat is used to retrieve the merged file in the Central Dogma repository.MergeRequest<?> merge(MergeSource... mergeSources) Returns a newMergeRequestthat is used to retrieve the merged file in the Central Dogma repository.MergeRequest<?> merge(Iterable<MergeSource> mergeSources) Returns a newMergeRequestthat is used to retrieve the merged file in the Central Dogma repository.Converts the relative revision number to the absolute revision number. e.g.Returns the name of the project.Returns the name of the repository.toString()watch(PathPattern pathPattern) Returns a newWatchFilesRequestthat is used to watch the files in the Central Dogma repository.<T> WatchRequest<T> Returns a newWatchRequestthat is used to watch the file in the Central Dogma repository.WatchRequest<?> Returns a newWatchRequestthat is used to watch the file in the Central Dogma repository.watcher(PathPattern pathPattern) Returns a newWatcherRequestthat is used to create aWatcher.<T> WatcherRequest<T> Returns a newWatcherRequestthat is used to create aWatcher.
-
Method Details
-
projectName
Returns the name of the project. -
repositoryName
Returns the name of the repository. -
normalize
Converts the relative revision number to the absolute revision number. e.g.-1 -> 3- Returns:
- the absolute
Revision
-
file
Returns a newFileRequestthat is used to retrieve the file in the Central Dogma repository. CallFileRequest.get(Revision)to perform the same operation asCentralDogma.getFile(String, String, Revision, Query). -
file
Returns a newFileRequestthat is used to retrieve the file in the Central Dogma repository. CallFileRequest.get(Revision)to perform the same operation asCentralDogma.getFile(String, String, Revision, Query). -
file
Returns a newFilesRequestthat is used to retrieve or list files in the Central Dogma repository. CallFilesRequest.get(Revision)orFilesRequest.list(Revision)for those operation. -
merge
Returns a newMergeRequestthat is used to retrieve the merged file in the Central Dogma repository. CallMergeRequest.get(Revision)to perform the same operation asCentralDogma.mergeFiles(String, String, Revision, MergeQuery). -
merge
Returns a newMergeRequestthat is used to retrieve the merged file in the Central Dogma repository. CallMergeRequest.get(Revision)to perform the same operation asCentralDogma.mergeFiles(String, String, Revision, MergeQuery). -
merge
Returns a newMergeRequestthat is used to retrieve the merged file in the Central Dogma repository. CallMergeRequest.get(Revision)to perform the same operation asCentralDogma.mergeFiles(String, String, Revision, MergeQuery). -
history
Returns a newHistoryRequestthat is used to retrieve the history of all files in the Central Dogma repository. CallHistoryRequest.get(Revision, Revision)to perform the same operation asCentralDogma.getHistory(String, String, Revision, Revision, PathPattern, int). -
history
Returns a newHistoryRequestthat is used to retrieve the history of files in the Central Dogma repository. CallHistoryRequest.get(Revision, Revision)to perform the same operation asCentralDogma.getHistory(String, String, Revision, Revision, PathPattern, int). -
diff
Returns a newDiffRequestthat is used to retrieve the diff of the file in the Central Dogma repository. CallDiffRequest.get(Revision, Revision)to perform the same operation asCentralDogma.getDiff(String, String, Revision, Revision, Query). -
diff
Returns a newDiffRequestthat is used to retrieve the diff of the file in the Central Dogma repository. CallDiffRequest.get(Revision, Revision)to perform the same operation asCentralDogma.getDiff(String, String, Revision, Revision, Query). -
diff
Returns a newDiffFilesRequestthat is used to retrieve the diff of files in the Central Dogma repository. CallDiffFilesRequest.get(Revision, Revision)to perform the same operation asCentralDogma.getDiff(String, String, Revision, Revision, PathPattern). -
diff
Returns a newPreviewDiffRequestthat is used to retrieve the preview diff of files in the Central Dogma repository. CallPreviewDiffRequest.get(Revision)to perform the same operation asCentralDogma.getPreviewDiffs(String, String, Revision, Iterable). -
diff
Returns a newPreviewDiffRequestthat is used to retrieve the preview diff of files in the Central Dogma repository. CallPreviewDiffRequest.get(Revision)to perform the same operation asCentralDogma.getPreviewDiffs(String, String, Revision, Iterable). -
commit
Returns a newCommitRequestthat is used to push theChanges to the Central Dogma repository. CallCommitRequest.push(Revision)to perform the same operation asCentralDogma.push(String, String, Revision, String, String, Markup, Iterable). -
commit
Returns a newCommitRequestthat is used to push theChanges to the Central Dogma repository. CallCommitRequest.push(Revision)to perform the same operation asCentralDogma.push(String, String, Revision, String, String, Markup, Iterable). -
watch
Returns a newWatchRequestthat is used to watch the file in the Central Dogma repository. CallWatchRequest.start(Revision)to perform the same operation asCentralDogma.watchFile(String, String, Revision, Query, long, boolean). -
watch
Returns a newWatchRequestthat is used to watch the file in the Central Dogma repository. CallWatchRequest.start(Revision)to perform the same operation asCentralDogma.watchFile(String, String, Revision, Query, long, boolean). -
watch
Returns a newWatchFilesRequestthat is used to watch the files in the Central Dogma repository. CallWatchFilesRequest.start(Revision)to perform the same operation asCentralDogma.watchRepository(String, String, Revision, PathPattern, long, boolean). -
watcher
Returns a newWatcherRequestthat is used to create aWatcher. -
watcher
Returns a newWatcherRequestthat is used to create aWatcher. -
equals
-
hashCode
public int hashCode() -
toString
-