Enum HealthStatusItemDisplayMode
- java.lang.Object
-
- java.lang.Enum<HealthStatusItemDisplayMode>
-
- jetbrains.buildServer.web.openapi.healthStatus.HealthStatusItemDisplayMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HealthStatusItemDisplayMode>
public enum HealthStatusItemDisplayMode extends java.lang.Enum<HealthStatusItemDisplayMode>
Helps determine in what context health status result is presented author: Evgeniy.Koshkin- Since:
- 8.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HealthStatusItemDisplayMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HealthStatusItemDisplayMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GLOBAL
public static final HealthStatusItemDisplayMode GLOBAL
Health status report in administration area.
-
IN_PLACE
public static final HealthStatusItemDisplayMode IN_PLACE
Related object page (e.g. Edit VCS Root page).
-
-
Method Detail
-
values
public static HealthStatusItemDisplayMode[] 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 (HealthStatusItemDisplayMode c : HealthStatusItemDisplayMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HealthStatusItemDisplayMode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-