java.lang.Object
com.atlassian.bamboo.agent.bootstrap.shared.utils.AgentDirUtils

public class AgentDirUtils extends Object
  • Constructor Details

    • AgentDirUtils

      public AgentDirUtils()
  • Method Details

    • mkDir

      public static File mkDir(File parent, String dirName)
      Make a directory if it doesn't already exist
      Parameters:
      parent - The parent directroy
      dirName - The name of the directory
      Returns:
      A File object pointing to the directory created
    • createHomeDirLayout

      public static void createHomeDirLayout(String homeDirStr) throws IOException
      Create agent home directory and its subdirectories
      Throws:
      Exception - When IO problem occurs
      IOException