Enum GerritVersionChecker.Feature
java.lang.Object
java.lang.Enum<GerritVersionChecker.Feature>
com.sonyericsson.hudson.plugins.gerrit.trigger.version.GerritVersionChecker.Feature
- All Implemented Interfaces:
Serializable
,Comparable<GerritVersionChecker.Feature>
- Enclosing class:
- GerritVersionChecker
The feature version we want to compare the current Gerrit version with.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGerrit CommentAdded always contains approval information, added in Gerrit 2.13.Triggering on files, added in Gerrit 2.3.Project created events, added in Gerrit 2.12.Replication events, added in Gerrit 2.9.Gerrit rerun-check event, added in checks for gerrit-3.3.Triggering on draft change published, added in Gerrit 2.5. -
Method Summary
Modifier and TypeMethodDescriptionHuman readable name.The required version string.static GerritVersionChecker.Feature
Returns the enum constant of this type with the specified name.static GerritVersionChecker.Feature[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
fileTrigger
Triggering on files, added in Gerrit 2.3. -
triggerOnDraftPublished
Triggering on draft change published, added in Gerrit 2.5. -
replicationEvents
Replication events, added in Gerrit 2.9. -
projectCreatedEvents
Project created events, added in Gerrit 2.12. -
commentAlwaysApproval
Gerrit CommentAdded always contains approval information, added in Gerrit 2.13. -
rerunCheck
Gerrit rerun-check event, added in checks for gerrit-3.3.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getDisplayName
Human readable name.- Returns:
- the display name.
-
getVersion
The required version string.- Returns:
- the version.
-