Package jenkins.scm.api
Enum Class SCMEvent.Type
- All Implemented Interfaces:
- Serializable,- Comparable<SCMEvent.Type>,- Constable
The type of event.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionSignifies the creation of a new thing: An existingSCMNavigatorgetting a newSCMSourcewould trigger aSCMSourceEventAn existingSCMSourcegetting a newSCMHeadwould trigger aSCMHeadEventSignifies the removal of an existing thing: An existingSCMNavigatorbeing removed would trigger aSCMNavigatorEventAn existingSCMSourcebeing removed would trigger aSCMSourceEventAn existingSCMHeadbeing removed would trigger aSCMHeadEventSignifies the update of metadata of existing thing: An existingSCMNavigator's metadata changing would trigger aSCMNavigatorEventAn existingSCMSource's metadata changing would trigger aSCMSourceEventAn existingSCMHead's metadata changing (including theSCMRevisionthat theSCMHeadpoints to) would trigger aSCMHeadEvent
- 
Method SummaryModifier and TypeMethodDescriptionstatic SCMEvent.TypeReturns 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- 
CREATEDSignifies the creation of a new thing:- An existing SCMNavigatorgetting a newSCMSourcewould trigger aSCMSourceEvent
- An existing SCMSourcegetting a newSCMHeadwould trigger aSCMHeadEvent
 
- An existing 
- 
UPDATEDSignifies 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 theSCMRevisionthat theSCMHeadpoints to) would trigger aSCMHeadEvent
 
- An existing 
- 
REMOVEDSignifies the removal of an existing thing:- An existing SCMNavigatorbeing removed would trigger aSCMNavigatorEvent
- An existing SCMSourcebeing removed would trigger aSCMSourceEvent
- An existing SCMHeadbeing removed would trigger aSCMHeadEvent
 
- An existing 
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-