Class CopyWithPerms

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Copy
org.jenkinsci.plugins.artifactdeployer.service.CopyWithPerms
All Implemented Interfaces:
Cloneable

public class CopyWithPerms extends org.apache.tools.ant.taskdefs.Copy
  • Field Summary

    Fields inherited from class org.apache.tools.ant.taskdefs.Copy

    completeDirMap, destDir, destFile, dirCopyMap, failonerror, file, fileCopyMap, filesets, fileUtils, filtering, flatten, forceOverwrite, includeEmpty, mapperElement, preserveLastModified, rcs, verbosity

    Fields inherited from class org.apache.tools.ant.Task

    target, taskName, taskType, wrapper

    Fields inherited from class org.apache.tools.ant.ProjectComponent

    description, location, project
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Actually does the file (and possibly empty directory) copies.
    boolean
     
    void
    setPreservePermissions(boolean preservePermissions)
     

    Methods inherited from class org.apache.tools.ant.taskdefs.Copy

    add, add, addFileset, buildMap, buildMap, createFilterChain, createFilterSet, createMapper, doResourceOperations, execute, getEncoding, getFileUtils, getFilterChains, getFilterSets, getForce, getOutputEncoding, getPreserveLastModified, isEnableMultipleMapping, scan, scan, setEnableMultipleMappings, setEncoding, setFailOnError, setFile, setFiltering, setFlatten, setForce, setGranularity, setIncludeEmptyDirs, setOutputEncoding, setOverwrite, setPreserveLastModified, setPreserveLastModified, setQuiet, setTodir, setTofile, setVerbose, supportsNonFileResources, validateAttributes

    Methods inherited from class org.apache.tools.ant.Task

    bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType

    Methods inherited from class org.apache.tools.ant.ProjectComponent

    clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CopyWithPerms

      public CopyWithPerms()
  • Method Details

    • isPreservePermissions

      public boolean isPreservePermissions()
    • setPreservePermissions

      public void setPreservePermissions(boolean preservePermissions)
    • doFileOperations

      protected void doFileOperations()
      Actually does the file (and possibly empty directory) copies. This is a good method for subclasses to override.
      Overrides:
      doFileOperations in class org.apache.tools.ant.taskdefs.Copy