Class SCMVar.Pickler
java.lang.Object
org.jenkinsci.plugins.workflow.pickles.PickleFactory
org.jenkinsci.plugins.workflow.support.pickles.SingleTypedPickleFactory<SCM>
org.jenkinsci.plugins.workflow.multibranch.SCMVar.Pickler
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- SCMVar
@Extension
public static class SCMVar.Pickler
extends org.jenkinsci.plugins.workflow.support.pickles.SingleTypedPickleFactory<SCM>
Ensures that
scm
is saved in its XML representation.
Necessary for GitSCM
which is marked Serializable
yet includes a DescribableList
which relies on a custom Converter
.
Note that a script which merely calls checkout scm
, even after a restart, does not rely on this;
but one which saves scm
somewhere and uses it later would.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jenkinsci.plugins.workflow.support.pickles.SingleTypedPickleFactory
writeReplace
Methods inherited from class org.jenkinsci.plugins.workflow.pickles.PickleFactory
all
-
Constructor Details
-
Pickler
public Pickler()
-
-
Method Details
-
pickle
- Specified by:
pickle
in classorg.jenkinsci.plugins.workflow.support.pickles.SingleTypedPickleFactory<SCM>
-