java.lang.Object
com.atlassian.bamboo.agent.bootstrap.shared.installation.strategy.CopyStrategy
All Implemented Interfaces:
InstallStrategy

public class CopyStrategy extends Object
  • Constructor Details

    • CopyStrategy

      public CopyStrategy(String homeDir)
  • Method Details

    • install

      public void install(InstallableFile file) throws IOException
      Throws:
      IOException
    • getDestFile

      protected File getDestFile(InstallableFile file)
      Returns the destination of supplied file.
      Parameters:
      file - the file for which we would like to know the installation destination path
      Returns:
      destination file
    • getResourceAsStream

      protected InputStream getResourceAsStream(String name)