mirror of https://github.com/jenkinsci/jenkins.git
Mark `PollingResult` as `SerializableOnlyOverRemoting` (#6134)
This commit is contained in:
parent
12ad7a841d
commit
a07cc96c38
|
|
@ -6,7 +6,7 @@ import hudson.FilePath;
|
|||
import hudson.Launcher;
|
||||
import hudson.model.AbstractProject;
|
||||
import hudson.model.TaskListener;
|
||||
import java.io.Serializable;
|
||||
import org.jenkinsci.remoting.SerializableOnlyOverRemoting;
|
||||
|
||||
/**
|
||||
* Immutable object that represents the result of {@linkplain SCM#poll(AbstractProject, Launcher, FilePath, TaskListener, SCMRevisionState) SCM polling}.
|
||||
|
|
@ -18,7 +18,7 @@ import java.io.Serializable;
|
|||
* @author Kohsuke Kawaguchi
|
||||
* @since 1.345
|
||||
*/
|
||||
public final class PollingResult implements Serializable {
|
||||
public final class PollingResult implements SerializableOnlyOverRemoting {
|
||||
/**
|
||||
* Baseline of the comparison.
|
||||
* (This comes from either the workspace, or from the remote repository as of the last polling.
|
||||
|
|
|
|||
Loading…
Reference in New Issue