Package hudson.scm
Enum Class PollingResult.Change
- All Implemented Interfaces:
- Serializable,- Comparable<PollingResult.Change>,- Constable
- Enclosing class:
- PollingResult
Degree of changes between the previous state and this state.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe state as of baseline is so different from the current state that they are incomparable (for example, the workspace and the remote repository points to two unrelated repositories because the configuration has changed.) This forces Jenkins to schedule a build right away.There are some changes between states, but those changes are not significant enough to consider a new build.No change.There are changes between states that warrant a new build.
- 
Method SummaryModifier and TypeMethodDescriptionstatic PollingResult.ChangeReturns the enum constant of this class with the specified name.static PollingResult.Change[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
NONENo change. TwoSCMRevisionStates point to the same state of the same repository / the same commit.
- 
INSIGNIFICANTThere are some changes between states, but those changes are not significant enough to consider a new build. For example, some SCMs allow certain commits to be marked as excluded, and this is how you can do it.
- 
SIGNIFICANTThere are changes between states that warrant a new build. Jenkins will eventually schedule a new build for this change, subject to other considerations such as the quiet period.
- 
INCOMPARABLEThe state as of baseline is so different from the current state that they are incomparable (for example, the workspace and the remote repository points to two unrelated repositories because the configuration has changed.) This forces Jenkins to schedule a build right away.This is primarily useful in SCM implementations that require a workspace to be able to perform a polling. SCMs that can always compare remote revisions regardless of the local state should do so, and never return this constant, to let Jenkins maintain the quiet period behavior all the time. This constant is not to be confused with the errors encountered during polling, which should result in an exception and eventual retry by Jenkins. 
 
- 
- 
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
 
 
-