Class FilePathDynamicContext
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.steps.DynamicContext.Typed<FilePath>
-
- org.jenkinsci.plugins.workflow.support.steps.FilePathDynamicContext
-
- All Implemented Interfaces:
ExtensionPoint
,org.jenkinsci.plugins.workflow.steps.DynamicContext
@Extension(ordinal=100.0) public final class FilePathDynamicContext extends org.jenkinsci.plugins.workflow.steps.DynamicContext.Typed<FilePath>
Analogue ofFilePathPickle
. Allows a step body to save a representation of a workspace without forcing a particularFilePath.getChannel()
to be used the whole time.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jenkinsci.plugins.workflow.steps.DynamicContext
org.jenkinsci.plugins.workflow.steps.DynamicContext.DelegatedContext, org.jenkinsci.plugins.workflow.steps.DynamicContext.Typed<T extends Object>
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description FilePathDynamicContext()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Object
createContextualObject(FilePath f)
Deprecated.static Object
createContextualObject(FilePath f, org.jenkinsci.plugins.workflow.graph.FlowNode n)
protected FilePath
get(org.jenkinsci.plugins.workflow.steps.DynamicContext.DelegatedContext context)
protected Class<FilePath>
type()
-
-
-
Method Detail
-
type
@NonNull protected Class<FilePath> type()
- Specified by:
type
in classorg.jenkinsci.plugins.workflow.steps.DynamicContext.Typed<FilePath>
-
get
protected FilePath get(org.jenkinsci.plugins.workflow.steps.DynamicContext.DelegatedContext context) throws IOException, InterruptedException
- Specified by:
get
in classorg.jenkinsci.plugins.workflow.steps.DynamicContext.Typed<FilePath>
- Throws:
IOException
InterruptedException
-
createContextualObject
@Deprecated public static Object createContextualObject(FilePath f)
Deprecated.
-
-