Uses of Class
hudson.scm.SCMRevisionState
-
Packages that use SCMRevisionState Package Description hudson.model.listeners Listener interfaces for various events that occur inside the server.hudson.scm Jenkins's interface with source code management systems. -
-
Uses of SCMRevisionState in hudson.model.listeners
Methods in hudson.model.listeners with parameters of type SCMRevisionState Modifier and Type Method Description void
SCMListener. onCheckout(Run<?,?> build, SCM scm, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState pollingBaseline)
Should be called immediately afterSCM.checkout(Run, Launcher, FilePath, TaskListener, File, SCMRevisionState)
is called. -
Uses of SCMRevisionState in hudson.scm
Fields in hudson.scm declared as SCMRevisionState Modifier and Type Field Description SCMRevisionState
PollingResult. baseline
Baseline of the comparison.static SCMRevisionState
SCMRevisionState. NONE
SCMRevisionState
PollingResult. remote
Current state of the remote repository.Methods in hudson.scm that return SCMRevisionState Modifier and Type Method Description SCMRevisionState
SCM. _calcRevisionsFromBuild(AbstractBuild<?,?> build, Launcher launcher, TaskListener listener)
Deprecated.SCMRevisionState
NullSCM. calcRevisionsFromBuild(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
SCMRevisionState
SCM. calcRevisionsFromBuild(AbstractBuild<?,?> build, Launcher launcher, TaskListener listener)
Deprecated.SCMRevisionState
SCM. calcRevisionsFromBuild(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
Calculates theSCMRevisionState
that represents the state of the workspace of the given build.Methods in hudson.scm with parameters of type SCMRevisionState Modifier and Type Method Description void
NullSCM. checkout(Run<?,?> build, Launcher launcher, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState baseline)
void
SCM. checkout(Run<?,?> build, Launcher launcher, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState baseline)
Obtains a fresh workspace of the module(s) into the specified directory of the specified machine.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.Constructors in hudson.scm with parameters of type SCMRevisionState Constructor Description PollingResult(SCMRevisionState baseline, SCMRevisionState remote, PollingResult.Change change)
-