Package org.jvnet.hudson.test
Class XStreamSerializable<T>
java.lang.Object
org.jvnet.hudson.test.XStreamSerializable<T>
- All Implemented Interfaces:
Serializable
Holder for an object which is not
Serializable
but can be serialized safely using XStream.
Useful for arguments and return values of RealJenkinsRule.runRemotely(RealJenkinsRule.StepWithReturnAndOneArg, Serializable)
etc.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionobject()
Deserializes an object from XML.static <T> XStreamSerializable<T>
of
(T o) Serializes an object to XML.
-
Method Details
-
of
Serializes an object to XML. -
object
Deserializes an object from XML.
-