Uses of Class
hudson.scm.PollingResult
Packages that use PollingResult
Package
Description
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Listener interfaces for various events that occur inside the server.
Jenkins's interface with source code management systems.
-
Uses of PollingResult in hudson.model
Methods in hudson.model that return PollingResultModifier and TypeMethodDescriptionAbstractProject.poll
(TaskListener listener) Checks if there's any update in SCM, and returns true if any is found.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 PollingResultModifier and TypeMethodDescriptionstatic 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 PollingResultModifier and TypeFieldDescriptionstatic final PollingResult
PollingResult.BUILD_NOW
Constant that usesPollingResult.Change.INCOMPARABLE
which forces an immediate build.static final PollingResult
PollingResult.NO_CHANGES
Constant to indicate no changes in the remote repository.static final PollingResult
PollingResult.SIGNIFICANT
Methods in hudson.scm that return PollingResultModifier and TypeMethodDescriptionNullSCM.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.SCM.compareRemoteRevisionWith
(Job<?, ?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline) Compares the current state of the remote repository against the given baselineSCMRevisionState
.final 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 PollingResultModifier and TypeMethodDescriptionSCMTriggerItem.poll
(TaskListener listener) Checks if there is any update in SCM.