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
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSECURITY-2169 escape hatch.protected booleanvoidsetAllowExtractionOutsideDestination(boolean allowExtractionOutsideDestination) voidsetDestination(FilePath destination) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jenkins.agents.ControllerToAgentFileCallable
checkRolesMethods inherited from interface hudson.FilePath.FileCallable
invoke
-
Constructor Details
-
AbstractFileCallable
public AbstractFileCallable()
-
-
Method Details
-
getDestination
-
setDestination
-
isAllowExtractionOutsideDestination
public boolean isAllowExtractionOutsideDestination()SECURITY-2169 escape hatch. Controlled byDecompressStepExecution.ALLOW_EXTRACTION_OUTSIDE_DESTINATION.- Returns:
- true if so.
-
setAllowExtractionOutsideDestination
public void setAllowExtractionOutsideDestination(boolean allowExtractionOutsideDestination) -
isDescendantOfDestination
- Throws:
IOException
-