Package jenkins.scm.api
Enum Class SCMEvent.Type
- All Implemented Interfaces:
Serializable
,Comparable<SCMEvent.Type>
,Constable
The type of event.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSignifies the creation of a new thing: An existingSCMNavigator
getting a newSCMSource
would trigger aSCMSourceEvent
An existingSCMSource
getting a newSCMHead
would trigger aSCMHeadEvent
Signifies the removal of an existing thing: An existingSCMNavigator
being removed would trigger aSCMNavigatorEvent
An existingSCMSource
being removed would trigger aSCMSourceEvent
An existingSCMHead
being removed would trigger aSCMHeadEvent
Signifies the update of metadata of existing thing: An existingSCMNavigator
's metadata changing would trigger aSCMNavigatorEvent
An existingSCMSource
's metadata changing would trigger aSCMSourceEvent
An existingSCMHead
's metadata changing (including theSCMRevision
that theSCMHead
points to) would trigger aSCMHeadEvent
-
Method Summary
Modifier and TypeMethodDescriptionstatic SCMEvent.Type
Returns the enum constant of this class with the specified name.static SCMEvent.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATED
Signifies the creation of a new thing:- An existing
SCMNavigator
getting a newSCMSource
would trigger aSCMSourceEvent
- An existing
SCMSource
getting a newSCMHead
would trigger aSCMHeadEvent
- An existing
-
UPDATED
Signifies the update of metadata of existing thing:- An existing
SCMNavigator
's metadata changing would trigger aSCMNavigatorEvent
- An existing
SCMSource
's metadata changing would trigger aSCMSourceEvent
- An existing
SCMHead
's metadata changing (including theSCMRevision
that theSCMHead
points to) would trigger aSCMHeadEvent
- An existing
-
REMOVED
Signifies the removal of an existing thing:- An existing
SCMNavigator
being removed would trigger aSCMNavigatorEvent
- An existing
SCMSource
being removed would trigger aSCMSourceEvent
- An existing
SCMHead
being removed would trigger aSCMHeadEvent
- An existing
-
-
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
-