public final class XStreamPickle
extends org.jenkinsci.plugins.workflow.pickles.Pickle
Serializable
.
Can also be used for objects which are Serializable
but mistakenly so.
For any such type you wish to save, create a SingleTypedPickleFactory
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
or setOwner
method, etc.
Constructor and Description |
---|
XStreamPickle(Object o) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<?> |
rehydrate() |
public XStreamPickle(Object o)
Copyright © 2016–2017. All rights reserved.