Class Pickle
java.lang.Object
org.jenkinsci.plugins.workflow.pickles.Pickle
- All Implemented Interfaces:
Serializable
Handle value objects to replace another stateful objects that cannot be serialized on its own,
such as
FilePath
.- Author:
- Kohsuke Kawaguchi
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<?>
Deprecated.com.google.common.util.concurrent.ListenableFuture<?>
rehydrate
(FlowExecutionOwner owner) Start preparing rehydration of this value, and when it's ready or fail, report that to the given call.
-
Constructor Details
-
Pickle
public Pickle()
-
-
Method Details
-
rehydrate
Deprecated. -
rehydrate
Start preparing rehydration of this value, and when it's ready or fail, report that to the given call. An implementation should return quickly and avoid acquiring locks in this method itself (as opposed to the future).Future.cancel(boolean)
should be implemented if possible.- Parameters:
owner
- an owner handle on which you may, for example, callFlowExecutionOwner.getListener()
- Returns:
- a future on which
Future.cancel(boolean)
might be called; also polite to overrideObject.toString()
for diagnostics
-