Uses of Class
hudson.scm.PollingResult
-
Packages that use PollingResult Package Description hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins
.hudson.model.listeners Listener interfaces for various events that occur inside the server.hudson.scm Jenkins's interface with source code management systems.jenkins.triggers -
-
Uses of PollingResult in hudson.model
Methods in hudson.model that return PollingResult Modifier and Type Method Description PollingResult
AbstractProject. poll(TaskListener listener)
Checks if there's any update in SCM, and returns true if any is found.PollingResult
SCMedItem. poll(TaskListener listener)
Deprecated.Checks if there's any update in SCM, and returns true if any is found. -
Uses of PollingResult in hudson.model.listeners
Methods in hudson.model.listeners with parameters of type PollingResult Modifier and Type Method Description static void
SCMPollListener. firePollingSuccess(AbstractProject<?,?> project, TaskListener listener, PollingResult result)
void
SCMPollListener. onPollingSuccess(AbstractProject<?,?> project, TaskListener listener, PollingResult result)
Called when the polling successfully concluded. -
Uses of PollingResult in hudson.scm
Fields in hudson.scm declared as PollingResult Modifier and Type Field Description static PollingResult
PollingResult. BUILD_NOW
Constant that usesPollingResult.Change.INCOMPARABLE
which forces an immediate build.static PollingResult
PollingResult. NO_CHANGES
Constant to indicate no changes in the remote repository.static PollingResult
PollingResult. SIGNIFICANT
Methods in hudson.scm that return PollingResult Modifier and Type Method Description PollingResult
NullSCM. compareRemoteRevisionWith(Job<?,?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline)
protected PollingResult
SCM. compareRemoteRevisionWith(AbstractProject<?,?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline)
Deprecated.PollingResult
SCM. compareRemoteRevisionWith(Job<?,?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline)
Compares the current state of the remote repository against the given baselineSCMRevisionState
.PollingResult
SCM. poll(AbstractProject<?,?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline)
Convenience method for the caller to handle the backward compatibility between pre 1.345 SCMs. -
Uses of PollingResult in jenkins.triggers
Methods in jenkins.triggers that return PollingResult Modifier and Type Method Description PollingResult
SCMTriggerItem. poll(TaskListener listener)
Checks if there is any update in SCM.
-