Package jetbrains.buildServer.tools
Enum ToolInstallationMode
- java.lang.Object
-
- java.lang.Enum<ToolInstallationMode>
-
- jetbrains.buildServer.tools.ToolInstallationMode
-
- All Implemented Interfaces:
Serializable
,Comparable<ToolInstallationMode>
public enum ToolInstallationMode extends Enum<ToolInstallationMode>
- Since:
- 2024.03
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DO_NOT_INSTALL
The tool version in this mode is not installed on server startupINSTALL
The tool version in this mode can be installed on server startupINSTALL_ON_FOUND_USAGES
The tool version in this mode can be installed on server startup only when it is used in existing build configurations
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ToolInstallationMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static ToolInstallationMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTALL
public static final ToolInstallationMode INSTALL
The tool version in this mode can be installed on server startup
-
DO_NOT_INSTALL
public static final ToolInstallationMode DO_NOT_INSTALL
The tool version in this mode is not installed on server startup
-
INSTALL_ON_FOUND_USAGES
public static final ToolInstallationMode INSTALL_ON_FOUND_USAGES
The tool version in this mode can be installed on server startup only when it is used in existing build configurations
-
-
Method Detail
-
values
public static ToolInstallationMode[] 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 (ToolInstallationMode c : ToolInstallationMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ToolInstallationMode 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 nameNullPointerException
- if the argument is null
-
-