Class AgentDirUtils
- java.lang.Object
-
- com.atlassian.bamboo.agent.bootstrap.shared.utils.AgentDirUtils
-
public class AgentDirUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description AgentDirUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreateHomeDirLayout(String homeDirStr)Create agent home directory and its subdirectoriesstatic FilemkDir(File parent, String dirName)Make a directory if it doesn't already exist
-
-
-
Method Detail
-
mkDir
public static File mkDir(File parent, String dirName)
Make a directory if it doesn't already exist- Parameters:
parent- The parent directroydirName- 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 occursIOException
-
-