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 PollingResultAbstractProject. poll(TaskListener listener)Checks if there's any update in SCM, and returns true if any is found.PollingResultSCMedItem. 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 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 PollingResult Modifier and Type Field Description static PollingResultPollingResult. BUILD_NOWConstant that usesPollingResult.Change.INCOMPARABLEwhich forces an immediate build.static PollingResultPollingResult. NO_CHANGESConstant to indicate no changes in the remote repository.static PollingResultPollingResult. SIGNIFICANTMethods in hudson.scm that return PollingResult Modifier and Type Method Description PollingResultNullSCM. 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.PollingResultSCM. compareRemoteRevisionWith(Job<?,?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline)Compares the current state of the remote repository against the given baselineSCMRevisionState.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 PollingResult Modifier and Type Method Description PollingResultSCMTriggerItem. poll(TaskListener listener)Checks if there is any update in SCM.
-