Package sonia.scm.repository
Enum Class Feature
- All Implemented Interfaces:
Serializable
,Comparable<Feature>
,Constable
Features which are supported by a
Repository
.- Since:
- 1.25
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe default branch of the repository is a combined branch of all repository branches.The repository supports pushing with a force flag.The repository supports computation of incoming changes (either diff or list of changesets) of one branch in respect to another target branch.The repository supports computation of modifications between two revisions, not only for a singe revision.The repository supports computation of tags for a given revision. -
Method Summary
-
Enum Constant Details
-
COMBINED_DEFAULT_BRANCH
The default branch of the repository is a combined branch of all repository branches. -
INCOMING_REVISION
The repository supports computation of incoming changes (either diff or list of changesets) of one branch in respect to another target branch. -
MODIFICATIONS_BETWEEN_REVISIONS
The repository supports computation of modifications between two revisions, not only for a singe revision.- Since:
- 2.23.0
-
FORCE_PUSH
The repository supports pushing with a force flag.- Since:
- 2.47.0
-
TAGS_FOR_REVISION
The repository supports computation of tags for a given revision.- Since:
- 3.1.0
-
-
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
-