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 thatscm
is saved in its XML representation. Necessary forGitSCM
which is markedSerializable
yet includes aDescribableList
which relies on a customConverter
. Note that a script which merely callscheckout scm
, even after a restart, does not rely on this; but one which savesscm
somewhere and uses it later would.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description Pickler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.jenkinsci.plugins.workflow.pickles.Pickle
pickle(SCM scm)
-