Class TouchStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- org.jenkinsci.plugins.pipeline.utility.steps.fs.TouchStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class TouchStep extends org.jenkinsci.plugins.workflow.steps.Step
Touch a file.- Author:
- Robert Sandell <rsandell@cloudbees.com>.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TouchStep.DescriptorImpl
static class
TouchStep.ExecutionImpl
The execution ofTouchStep
.-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFile()
The file to touch.Long
getTimestamp()
Optional timestamp to setvoid
setTimestamp(Long timestamp)
Optional timestamp to setorg.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Constructor Detail
-
TouchStep
@DataBoundConstructor public TouchStep(String file) throws Descriptor.FormException
- Throws:
Descriptor.FormException
-
-