Interface ProjectCopier

All Superinterfaces:
Plugin
All Known Implementing Classes:
FileSystemProjectCopier

public interface ProjectCopier extends Plugin
Copy project files from a source location to a target location
  • Method Details

    • getPriority

      int getPriority(String path)
      Check the path to see if the implementation supports it
      Parameters:
      path - The path to check
      Returns:
      int
    • isRemote

      boolean isRemote()
      Return true if this ProjectCopier works with remote locations false if not
      Returns:
      boolean
    • createWorkingStorage

      File createWorkingStorage(String target, boolean keepTempFiles)
      Create a local directory that can be used as an intermediate area to store files to be copied.
      Parameters:
      target - The target location for the copy
      keepTempFiles - True if the temp files should be kept false if not
      Returns:
      File The local diectory
    • copy

      void copy(String source, String target, boolean recursive)
      Copy files from the source location to the target
      Parameters:
      source - The source location
      target - The target location
      recursive - Recurse through the source location if tre