Class AgentInstallerUtil
java.lang.Object
com.atlassian.bamboo.agent.installer.util.AgentInstallerUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Get the home directory.static String
Returns version of installer used to install agent.static void
storeInstalledPackageVersion
(String version) Updates the value of installer package version number.
-
Method Details
-
getHomeDir
Get the home directory.- Returns:
- The home directory
-
getInstalledPackageVersion
Returns version of installer used to install agent.- Returns:
- version of installer, null if undefined
- Throws:
IOException
-
storeInstalledPackageVersion
Updates the value of installer package version number.- Parameters:
version
- new version number to store- Throws:
IOException
-