com.atlassian.bamboo.v2.build.agent.remote
Class RemoteBuildDirectoryManager

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.agent.remote.RemoteBuildDirectoryManager
All Implemented Interfaces:
BuildDirectoryManager

public class RemoteBuildDirectoryManager
extends java.lang.Object
implements BuildDirectoryManager


Field Summary
static java.lang.String BUILD_ARTIFACTS_DIRECTORY_KEY
           
static java.lang.String BUILD_WORKING_DIRECTORY_KEY
           
static java.lang.String DEFAULT_BUILD_ARTIFACT_DIRECTORY
           
static java.lang.String DEFAULT_BUILD_WORKING_DIRECTORY
           
 
Constructor Summary
RemoteBuildDirectoryManager()
           
 
Method Summary
 java.lang.String getAgentPathPrefix(ExecutableBuildAgent buildAgent)
           
 java.io.File getApplicationHome()
          Returns application's/agent's home directory.
 java.io.File getBuildArtifactsDirectory(java.lang.String planKey)
           
 java.io.File getBuildWorkingDirectory()
           
 java.io.File getBuildWorkingDirectory(java.lang.String planKey)
           
 void setAgentConfiguration(AgentConfiguration agentConfiguration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUILD_WORKING_DIRECTORY_KEY

public static final java.lang.String BUILD_WORKING_DIRECTORY_KEY
See Also:
Constant Field Values

BUILD_ARTIFACTS_DIRECTORY_KEY

public static final java.lang.String BUILD_ARTIFACTS_DIRECTORY_KEY
See Also:
Constant Field Values

DEFAULT_BUILD_WORKING_DIRECTORY

public static final java.lang.String DEFAULT_BUILD_WORKING_DIRECTORY

DEFAULT_BUILD_ARTIFACT_DIRECTORY

public static final java.lang.String DEFAULT_BUILD_ARTIFACT_DIRECTORY
Constructor Detail

RemoteBuildDirectoryManager

public RemoteBuildDirectoryManager()
Method Detail

getBuildArtifactsDirectory

public java.io.File getBuildArtifactsDirectory(java.lang.String planKey)
Specified by:
getBuildArtifactsDirectory in interface BuildDirectoryManager

getBuildWorkingDirectory

public java.io.File getBuildWorkingDirectory()
Specified by:
getBuildWorkingDirectory in interface BuildDirectoryManager

getBuildWorkingDirectory

public java.io.File getBuildWorkingDirectory(java.lang.String planKey)
Specified by:
getBuildWorkingDirectory in interface BuildDirectoryManager

getApplicationHome

public java.io.File getApplicationHome()
Description copied from interface: BuildDirectoryManager
Returns application's/agent's home directory.

Specified by:
getApplicationHome in interface BuildDirectoryManager
Returns:
Application's/agent's home directory

getAgentPathPrefix

public java.lang.String getAgentPathPrefix(ExecutableBuildAgent buildAgent)
Specified by:
getAgentPathPrefix in interface BuildDirectoryManager

setAgentConfiguration

public void setAgentConfiguration(AgentConfiguration agentConfiguration)


Copyright © 2010 Atlassian. All Rights Reserved.