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 TypeMethodDescriptionboolean
SECURITY-2169 escape hatch.protected boolean
void
setAllowExtractionOutsideDestination
(boolean allowExtractionOutsideDestination) void
setDestination
(FilePath destination) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jenkins.agents.ControllerToAgentFileCallable
checkRoles
Methods 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
-