Class AbstractFileOrTextStepExecution<T>

java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecution
org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<T>
org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileOrTextStepExecution<T>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ReadCSVStepExecution, ReadJSONStepExecution, ReadManifestStepExecution, ReadPropertiesStepExecution, ReadTOMLStepExecution, ReadYamlStep.Execution

public abstract class AbstractFileOrTextStepExecution<T> extends org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<T>
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected FilePath
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractFileOrTextStepExecution(AbstractFileOrTextStep step, org.jenkinsci.plugins.workflow.steps.StepContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract T
     
    protected final T
    run()
     

    Methods inherited from class org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution

    blocksRestart, getStatus, onResume, start, stop

    Methods inherited from class org.jenkinsci.plugins.workflow.steps.StepExecution

    acceptAll, acceptAll, applyAll, applyAll, getContext, getStatusBounded

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • AbstractFileOrTextStepExecution

      protected AbstractFileOrTextStepExecution(@NonNull AbstractFileOrTextStep step, @NonNull org.jenkinsci.plugins.workflow.steps.StepContext context)
  • Method Details

    • run

      protected final T run() throws Exception
      Specified by:
      run in class org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<T>
      Throws:
      Exception
    • doRun

      protected abstract T doRun() throws Exception
      Throws:
      Exception