Class PickleResolver
java.lang.Object
org.jenkinsci.plugins.workflow.support.pickles.serialization.PickleResolver
- All Implemented Interfaces:
org.jboss.marshalling.ObjectResolver
ObjectResolver that resolves DryCapsule to unpickled objects.- Author:
- Kohsuke Kawaguchi
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic longPickle resolution will fail automatically after this many seconds. -
Constructor Summary
ConstructorsConstructorDescriptionPickleResolver(List<? extends org.jenkinsci.plugins.workflow.pickles.Pickle> pickles) Deprecated.PickleResolver(List<? extends org.jenkinsci.plugins.workflow.pickles.Pickle> pickles, org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner) -
Method Summary
Modifier and TypeMethodDescriptionget(int id) com.google.common.util.concurrent.ListenableFuture<PickleResolver> Deprecated.com.google.common.util.concurrent.ListenableFuture<PickleResolver> rehydrate(Collection<com.google.common.util.concurrent.ListenableFuture<?>> pickleFutures) writeReplace(Object original)
-
Field Details
-
RESOLUTION_TIMEOUT_SECONDS
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static long RESOLUTION_TIMEOUT_SECONDSPickle resolution will fail automatically after this many seconds.This is intended to prevent Pipeline builds from hanging forever in unusual cases.
-
-
Constructor Details
-
PickleResolver
@Deprecated public PickleResolver(List<? extends org.jenkinsci.plugins.workflow.pickles.Pickle> pickles) Deprecated. -
PickleResolver
public PickleResolver(List<? extends org.jenkinsci.plugins.workflow.pickles.Pickle> pickles, org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner)
-
-
Method Details
-
get
-
rehydrate
Deprecated. -
rehydrate
public com.google.common.util.concurrent.ListenableFuture<PickleResolver> rehydrate(Collection<com.google.common.util.concurrent.ListenableFuture<?>> pickleFutures) -
readResolve
- Specified by:
readResolvein interfaceorg.jboss.marshalling.ObjectResolver
-
writeReplace
- Specified by:
writeReplacein interfaceorg.jboss.marshalling.ObjectResolver
-