Enum Class RepositorySynchronizationType
java.lang.Object
java.lang.Enum<RepositorySynchronizationType>
com.atlassian.bitbucket.scm.mirror.RepositorySynchronizationType
- All Implemented Interfaces:
Serializable,Comparable<RepositorySynchronizationType>,Constable
The type of synchronization performed on a mirrored repository
- Since:
- 6.7
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRefs to be updated are computed by the orchestrator and relevantupdate-refinstructions are passed to each member of the mirror farm.All refs on the remote are fetched by the orchestrator and passed to each member of the mirror farm. -
Method Summary
Modifier and TypeMethodDescriptiontoString()Returns the enum constant of this class with the specified name.static RepositorySynchronizationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INCREMENTAL
Refs to be updated are computed by the orchestrator and relevantupdate-refinstructions are passed to each member of the mirror farm. Each member then performs the instructions that were passed to it. -
SNAPSHOT
All refs on the remote are fetched by the orchestrator and passed to each member of the mirror farm. Each member then updates its local refs to match the refs that were passed to it.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<RepositorySynchronizationType>
-