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.StepTouch a file.- Author:
- Robert Sandell <rsandell@cloudbees.com>.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTouchStep.DescriptorImplstatic classTouchStep.ExecutionImplThe 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 StringgetFile()The file to touch.LonggetTimestamp()Optional timestamp to setvoidsetTimestamp(Long timestamp)Optional timestamp to setorg.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Constructor Detail
-
TouchStep
@DataBoundConstructor public TouchStep(String file) throws Descriptor.FormException
- Throws:
Descriptor.FormException
-
-