Class RemoteAgentHomeLocatorForBootstrap
- java.lang.Object
-
- com.atlassian.bamboo.agent.bootstrap.RemoteAgentHomeLocatorForBootstrap
-
public final class RemoteAgentHomeLocatorForBootstrap extends Object
This class should be used only in agent bootstrap. For all other cases, use RemoteAgentLocator / or homeLocator bean.
-
-
Field Summary
Fields Modifier and Type Field Description static String
BAMBOO_AGENT_HOME_PROPERTY
static String
BAMBOO_HOME_PROPERTY
static String
DEFAULT_CONFIG_FILE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getAgentHomeFromPropertyOrEnv()
static File
getConfigFile()
static String
getDefaultConfigFileName()
static File
getHome()
static File
getInstallationDirectory()
static File
getPluginFrameworkBundlesDirectory()
static String
getTemporaryUuidFileName()
-
-
-
Field Detail
-
BAMBOO_HOME_PROPERTY
public static final String BAMBOO_HOME_PROPERTY
- See Also:
- Constant Field Values
-
BAMBOO_AGENT_HOME_PROPERTY
public static final String BAMBOO_AGENT_HOME_PROPERTY
- See Also:
- Constant Field Values
-
DEFAULT_CONFIG_FILE_NAME
public static final String DEFAULT_CONFIG_FILE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultConfigFileName
public static String getDefaultConfigFileName()
-
getTemporaryUuidFileName
public static String getTemporaryUuidFileName()
-
getConfigFile
public static File getConfigFile()
-
getHome
public static File getHome()
-
getInstallationDirectory
public static File getInstallationDirectory()
-
getPluginFrameworkBundlesDirectory
public static File getPluginFrameworkBundlesDirectory()
- Returns:
- directory containing plugin framework bundles
-
getAgentHomeFromPropertyOrEnv
public static String getAgentHomeFromPropertyOrEnv()
-
-