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

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.agent.remote.RemoteAgentHomeLocator
All Implemented Interfaces:
com.atlassian.config.HomeLocator

public class RemoteAgentHomeLocator
extends java.lang.Object
implements com.atlassian.config.HomeLocator

A BambooHomeLocator for remote agents.

In the case that a Bamboo home is not explicitly defined, it will default to ~/bamboo-agent-home.


Constructor Summary
RemoteAgentHomeLocator()
           
 
Method Summary
 java.lang.String getConfigFileName()
           
 java.lang.String getHomePath()
           
 void lookupServletHomeProperty(javax.servlet.ServletContext context)
           
 void setConfigFileName(java.lang.String configFileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteAgentHomeLocator

public RemoteAgentHomeLocator()
Method Detail

getHomePath

@NotNull
public java.lang.String getHomePath()
Specified by:
getHomePath in interface com.atlassian.config.HomeLocator

getConfigFileName

public java.lang.String getConfigFileName()
Specified by:
getConfigFileName in interface com.atlassian.config.HomeLocator

setConfigFileName

public void setConfigFileName(java.lang.String configFileName)

lookupServletHomeProperty

public void lookupServletHomeProperty(javax.servlet.ServletContext context)
Specified by:
lookupServletHomeProperty in interface com.atlassian.config.HomeLocator


Copyright © 2012 Atlassian. All Rights Reserved.