java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.atlassian.bitbucket.repository.Repository.State |
Enumerates the possible states for a given repository
. In general, repositories will always
be in the available
state.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Repository.State | AVAILABLE | Indicates the repository has been created both in the database and in the associated SCM and may be pulled from or pushed to normally. | |||||||||
Repository.State | INITIALISATION_FAILED | Indicates the associated SCM was not able to create the repository's SCM-specific storage, such as a bare
clone on disk in git . |
|||||||||
Repository.State | INITIALISING | Indicates the repository has just been created in the database and the associated SCM is currently in the process of creating its storage. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the state associated with the specified
ID . | |||||||||||
Retrieves a unique identifier for this state.
| |||||||||||
Retrieves the status message describing this state.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Indicates the repository has been created both in the database and in the associated SCM and may be pulled from or pushed to normally.
Indicates the associated SCM was not able to create the repository's SCM-specific storage, such as a bare
clone on disk in git
. Repositories in this state exist within the database, but may not be pulled
from or pushed to.
Indicates the repository has just been created in the database and the associated SCM is currently in the process of creating its storage. Repositories in this state may not be pulled from or pushed to.
Retrieves the state associated with the specified ID
.
id | the ID to retrieve a State for |
---|
IllegalArgumentException | if no state exists with the specified ID |
---|
Retrieves a unique identifier for this state. Unlike the enum's ordinal or name, this value will never change for a given entry.
Retrieves the status message describing this state.