Enum GerritTriggerJob.EventToTriggerOn
- java.lang.Object
-
- java.lang.Enum<GerritTriggerJob.EventToTriggerOn>
-
- org.jenkinsci.test.acceptance.plugins.gerrit_trigger.GerritTriggerJob.EventToTriggerOn
-
- All Implemented Interfaces:
Serializable
,Comparable<GerritTriggerJob.EventToTriggerOn>
- Enclosing class:
- GerritTriggerJob
public static enum GerritTriggerJob.EventToTriggerOn extends Enum<GerritTriggerJob.EventToTriggerOn>
represents the options of events to trigger on for Gerrit-Trigger plugin
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ChangeAbandoned
ChangeMerged
ChangeRestored
CommentAdded
CommentAddedContainsRegularExpression
DraftPublished
PatchsetCreated
RefUpdated
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
static GerritTriggerJob.EventToTriggerOn
valueOf(String name)
Returns the enum constant of this type with the specified name.static GerritTriggerJob.EventToTriggerOn[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ChangeAbandoned
public static final GerritTriggerJob.EventToTriggerOn ChangeAbandoned
-
ChangeMerged
public static final GerritTriggerJob.EventToTriggerOn ChangeMerged
-
ChangeRestored
public static final GerritTriggerJob.EventToTriggerOn ChangeRestored
-
CommentAdded
public static final GerritTriggerJob.EventToTriggerOn CommentAdded
-
CommentAddedContainsRegularExpression
public static final GerritTriggerJob.EventToTriggerOn CommentAddedContainsRegularExpression
-
DraftPublished
public static final GerritTriggerJob.EventToTriggerOn DraftPublished
-
PatchsetCreated
public static final GerritTriggerJob.EventToTriggerOn PatchsetCreated
-
RefUpdated
public static final GerritTriggerJob.EventToTriggerOn RefUpdated
-
-
Method Detail
-
values
public static GerritTriggerJob.EventToTriggerOn[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GerritTriggerJob.EventToTriggerOn c : GerritTriggerJob.EventToTriggerOn.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GerritTriggerJob.EventToTriggerOn valueOf(String name)
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
public String getDisplayName()
-
-