Package org.jenkinsci.plugins.pubsub
Enum EventProps.Item
- java.lang.Object
-
- java.lang.Enum<EventProps.Item>
-
- org.jenkinsci.plugins.pubsub.EventProps.Item
-
- All Implemented Interfaces:
Serializable
,Comparable<EventProps.Item>
- Enclosing interface:
- EventProps
public static enum EventProps.Item extends Enum<EventProps.Item>
Pre-definedEventProps.Item
event property names.- See
EventProps.Jenkins
for core properties common to most/all messages.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description item_rename_after
Item (e.g.item_rename_before
Item (e.g.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventProps.Item
valueOf(String name)
Returns the enum constant of this type with the specified name.static EventProps.Item[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
item_rename_before
public static final EventProps.Item item_rename_before
Item (e.g. a Job) name before a rename operation.
-
item_rename_after
public static final EventProps.Item item_rename_after
Item (e.g. a Job) name after a rename operation.
-
-
Method Detail
-
values
public static EventProps.Item[] 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 (EventProps.Item c : EventProps.Item.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventProps.Item 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
-
-