Enum UpgradeOutcome

    • Enum Constant Detail

      • NO_AGENT_RESTART

        public static final UpgradeOutcome NO_AGENT_RESTART
        Upgrade is applied and the agent restart is not needed
      • RESTART_AGENT

        public static final UpgradeOutcome RESTART_AGENT
        Upgrade is applied, what is needed is to simply restart build agent
      • CALL_LAUNCHER_UPGRADE

        public static final UpgradeOutcome CALL_LAUNCHER_UPGRADE
        Full upgrade is needed with help of launcher upgrade procedure
    • Method Detail

      • values

        public static UpgradeOutcome[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (UpgradeOutcome c : UpgradeOutcome.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UpgradeOutcome valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null