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 SummaryNested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetFile()The file to touch.Optional timestamp to setvoidsetTimestamp(Long timestamp) Optional timestamp to setorg.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.StepgetDescriptor
- 
Constructor Details- 
TouchStep- Throws:
- Descriptor.FormException
 
 
- 
- 
Method Details- 
getFileThe file to touch.- Returns:
- the file
 
- 
getTimestampOptional timestamp to set- Returns:
- timestamp
 
- 
setTimestampOptional timestamp to set- Parameters:
- timestamp- timestamp
 
- 
startpublic org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
- startin class- org.jenkinsci.plugins.workflow.steps.Step
- Throws:
- Exception
 
 
-