Class SingleTypedPickleFactory<T>
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.pickles.PickleFactory
-
- org.jenkinsci.plugins.workflow.support.pickles.SingleTypedPickleFactory<T>
-
- Type Parameters:
T
- the ephemeral object type
- All Implemented Interfaces:
ExtensionPoint
- Direct Known Subclasses:
SecretPickle.Factory
public abstract class SingleTypedPickleFactory<T> extends org.jenkinsci.plugins.workflow.pickles.PickleFactory
PickleFactory
implementation for a common situation where only kind of ephemeral object is being pickled.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SingleTypedPickleFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.jenkinsci.plugins.workflow.pickles.Pickle
pickle(T object)
org.jenkinsci.plugins.workflow.pickles.Pickle
writeReplace(Object object)
-
-
-
Method Detail
-
pickle
@NonNull protected abstract org.jenkinsci.plugins.workflow.pickles.Pickle pickle(@NonNull T object)
-
writeReplace
public final org.jenkinsci.plugins.workflow.pickles.Pickle writeReplace(Object object)
- Specified by:
writeReplace
in classorg.jenkinsci.plugins.workflow.pickles.PickleFactory
-
-