Enum Class SyncMode
- All Implemented Interfaces:
Serializable
,Comparable<SyncMode>
,Constable
Enumeration for element hiding public branch sync feature
AUTO - sync public branch when needed automatically
MANUAL - show notification, that public branch is out of sync
NONE - do nothing
- Version:
- 1.0
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SyncMode
Get default SyncModeReturns values of choicestoString()
static SyncMode
Returns the enum constant of this class with the specified name.static SyncMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
-
MANUAL
-
NONE
-
-
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
-
getDefault
Get default SyncMode- Returns:
- SyncMode - Manual
-
getValues
Returns values of choices- Returns:
- list of values
-