Class AbstractFileCallable<T>

java.lang.Object
jenkins.MasterToSlaveFileCallable<T>
org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileCallable<T>
All Implemented Interfaces:
FilePath.FileCallable<T>, Serializable, ControllerToAgentFileCallable<T>, org.jenkinsci.remoting.RoleSensitive
Direct Known Subclasses:
UnTarStepExecution.UnTarFileCallable, UnZipStepExecution.UnZipFileCallable

public abstract class AbstractFileCallable<T> extends MasterToSlaveFileCallable<T>
See Also:
  • Constructor Details

    • AbstractFileCallable

      public AbstractFileCallable()
  • Method Details

    • getDestination

      public FilePath getDestination()
    • setDestination

      public void setDestination(FilePath destination)
    • isAllowExtractionOutsideDestination

      public boolean isAllowExtractionOutsideDestination()
      SECURITY-2169 escape hatch. Controlled by DecompressStepExecution.ALLOW_EXTRACTION_OUTSIDE_DESTINATION.
      Returns:
      true if so.
    • setAllowExtractionOutsideDestination

      public void setAllowExtractionOutsideDestination(boolean allowExtractionOutsideDestination)
    • isDescendantOfDestination

      protected boolean isDescendantOfDestination(FilePath f) throws IOException
      Throws:
      IOException