Class AgentInstallerUtil

java.lang.Object
com.atlassian.bamboo.agent.installer.util.AgentInstallerUtil

public class AgentInstallerUtil extends Object
  • Method Details

    • getHomeDir

      public static String getHomeDir()
      Get the home directory.
      Returns:
      The home directory
    • getInstalledPackageVersion

      public static String getInstalledPackageVersion() throws IOException
      Returns version of installer used to install agent.
      Returns:
      version of installer, null if undefined
      Throws:
      IOException
    • storeInstalledPackageVersion

      public static void storeInstalledPackageVersion(String version) throws IOException
      Updates the value of installer package version number.
      Parameters:
      version - new version number to store
      Throws:
      IOException