|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PollingResult.Change>
hudson.scm.PollingResult.Change
public static enum PollingResult.Change
Degree of changes between the previous state and this state.
Enum Constant Summary | |
---|---|
INCOMPARABLE
The 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. |
|
INSIGNIFICANT
There are some changes between states, but those changes are not significant enough to consider a new build. |
|
NONE
No change. |
|
SIGNIFICANT
There are changes between states that warrant a new build. |
Method Summary | |
---|---|
static PollingResult.Change |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PollingResult.Change[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PollingResult.Change NONE
SCMRevisionState
s point to the same state of the same repository / the same commit.
public static final PollingResult.Change INSIGNIFICANT
public static final PollingResult.Change SIGNIFICANT
public static final PollingResult.Change INCOMPARABLE
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 Detail |
---|
public static PollingResult.Change[] values()
for (PollingResult.Change c : PollingResult.Change.values()) System.out.println(c);
public static PollingResult.Change valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |