Class RemoteAgentHomeDirectoryLayout
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.remote.RemoteAgentHomeDirectoryLayout
-
- All Implemented Interfaces:
HomeDirectoryLayout
public class RemoteAgentHomeDirectoryLayout extends Object implements HomeDirectoryLayout
-
-
Field Summary
Fields Modifier and Type Field Description static String
AGENT_STATE_SUB_DIR
-
Constructor Summary
Constructors Constructor Description RemoteAgentHomeDirectoryLayout(BambooHomeLocator homeLocator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getAgentStateDirectory()
File
getApplicationHome()
File
getLocalHome()
File
getPluginCacheDirectory()
File
getPluginDirectory()
File
getSharedHome()
File
getTempDirectory()
-
-
-
Field Detail
-
AGENT_STATE_SUB_DIR
public static final String AGENT_STATE_SUB_DIR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RemoteAgentHomeDirectoryLayout
public RemoteAgentHomeDirectoryLayout(BambooHomeLocator homeLocator) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getApplicationHome
public File getApplicationHome()
- Specified by:
getApplicationHome
in interfaceHomeDirectoryLayout
- Returns:
- home directory for the application
-
getLocalHome
public File getLocalHome()
- Specified by:
getLocalHome
in interfaceHomeDirectoryLayout
-
getSharedHome
public File getSharedHome()
- Specified by:
getSharedHome
in interfaceHomeDirectoryLayout
-
getPluginDirectory
public File getPluginDirectory()
- Specified by:
getPluginDirectory
in interfaceHomeDirectoryLayout
- Returns:
- plugin directory
-
getPluginCacheDirectory
public File getPluginCacheDirectory()
- Specified by:
getPluginCacheDirectory
in interfaceHomeDirectoryLayout
- Returns:
- plugin cache directory
-
getAgentStateDirectory
public File getAgentStateDirectory()
- Specified by:
getAgentStateDirectory
in interfaceHomeDirectoryLayout
-
getTempDirectory
public File getTempDirectory()
- Specified by:
getTempDirectory
in interfaceHomeDirectoryLayout
- Returns:
- temp directory in application home directory
-
-