Class XStreamPickle
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.pickles.Pickle
-
- org.jenkinsci.plugins.workflow.support.pickles.XStreamPickle
-
- All Implemented Interfaces:
Serializable
public final class XStreamPickle extends org.jenkinsci.plugins.workflow.pickles.Pickle
A way of pickling Jenkins objects which have a well-defined XStream representation but are notSerializable
. Can also be used for objects which areSerializable
but mistakenly so. For any such type you wish to save, create aSingleTypedPickleFactory
returning this pickle.Uses
Items.XSTREAM2
so suitable for things normally kept in job configuration.Note that the object ought to be self-contained and require no initialization, so do not use this for anything with an
onLoad
orsetOwner
method, etc.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XStreamPickle(Object o)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<?>
rehydrate()
-
-
-
Constructor Detail
-
XStreamPickle
public XStreamPickle(Object o)
-
-