Package com.linecorp.centraldogma.common
Common data types and exceptions.
-
Interface Summary Interface Description Change<T> A modification of an individualEntry
.ContentHolder<T> A holder which has the content and itsEntryType
.MergeQuery<T> A merge query on files.PathPattern A path pattern that represents a variant of glob.Query<T> A query on a file. -
Class Summary Class Description Author An author of aCommit
.Commit A set ofChange
s and its metadata.Entry<T> A file or a directory in a repository.MergedEntry<T> A merged entry in a repository.MergeSource A merge source that contains apath
andisOptional
which indicates whether the path is required or not.PushResult The result of apush
operation.Revision A revision number of aCommit
.RevisionJsonDeserializer Deserializes JSON into aRevision
.RevisionJsonSerializer Serializes aRevision
into JSON.RevisionRange -
Exception Summary Exception Description AuthorizationException ACentralDogmaException
that is raised when a client failed to authenticate or attempted to perform an unauthorized operation.CentralDogmaException ARuntimeException
that is raised when failed to access Central Dogma.ChangeConflictException ACentralDogmaException
that is raised when attempted to push a commit which cannot be applied without a conflict.ChangeFormatException AnIllegalArgumentException
that is raised when building aChange
or anEntry
failed due to invalid data format.EntryNoContentException ACentralDogmaException
that is raised when attempted to retrieve the content from a directory entry.EntryNotFoundException ACentralDogmaException
that is raised when attempted to access a non-existent entry in a repository.InvalidPushException ACentralDogmaException
that is raised when a push is invalid.ProjectExistsException ACentralDogmaException
that is raised when attempted to create a project with an existing project name.ProjectNotFoundException ACentralDogmaException
that is raised when attempted to access a non-existent project.QueryExecutionException ACentralDogmaException
that is raised when the evaluation of aQuery
has failed.QuerySyntaxException AnIllegalArgumentException
that is raised when the syntax validation of aQuery
has failed.RedundantChangeException ACentralDogmaException
that is raised when attempted to push a commit without effective changes.RepositoryExistsException ACentralDogmaException
that is raised when attempted to create a repository with an existing repository name.RepositoryNotFoundException ACentralDogmaException
that is raised when attempted to access a non-existent repository.RevisionNotFoundException ACentralDogmaException
that is raised when attempted to access a non-existent revision.ShuttingDownException ACentralDogmaException
that is raised when Central Dogma cannot handle a request because it's shutting down.TooManyRequestsException ACentralDogmaException
that is raised when a client is attempting to send requests more than quota limits.