Package jenkins.scm.api
Enum SCMEvent.Type
- All Implemented Interfaces:
Serializable
,Comparable<SCMEvent.Type>
The type of event.
-
Enum Constant Summary
Enum ConstantsEnum 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 type with the specified name.static SCMEvent.Type[]
values()
Returns an array containing the constants of this enum type, 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 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
-