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 voidSCMPollListener.firePollingSuccess(AbstractProject<?, ?> project, TaskListener listener, PollingResult result) voidSCMPollListener.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 PollingResultPollingResult.BUILD_NOWConstant that usesPollingResult.Change.INCOMPARABLEwhich forces an immediate build.static final PollingResultPollingResult.NO_CHANGESConstant to indicate no changes in the remote repository.static final PollingResultPollingResult.SIGNIFICANTMethods in hudson.scm that return PollingResultModifier and TypeMethodDescriptionNullSCM.compareRemoteRevisionWith(Job<?, ?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline) protected PollingResultSCM.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 PollingResultSCM.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.