Package jetbrains.buildServer.vcs
Enum VcsDurationMetrics.VcsMetricType
- java.lang.Object
-
- java.lang.Enum<VcsDurationMetrics.VcsMetricType>
-
- jetbrains.buildServer.vcs.VcsDurationMetrics.VcsMetricType
-
- All Implemented Interfaces:
Serializable
,Comparable<VcsDurationMetrics.VcsMetricType>
- Enclosing interface:
- VcsDurationMetrics
public static enum VcsDurationMetrics.VcsMetricType extends Enum<VcsDurationMetrics.VcsMetricType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLLECT_CHANGES
SCHEDULED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VcsDurationMetrics.VcsMetricType
valueOf(String name)
Returns the enum constant of this type with the specified name.static VcsDurationMetrics.VcsMetricType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COLLECT_CHANGES
public static final VcsDurationMetrics.VcsMetricType COLLECT_CHANGES
-
SCHEDULED
public static final VcsDurationMetrics.VcsMetricType SCHEDULED
-
-
Method Detail
-
values
public static VcsDurationMetrics.VcsMetricType[] 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 (VcsDurationMetrics.VcsMetricType c : VcsDurationMetrics.VcsMetricType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VcsDurationMetrics.VcsMetricType 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
-
-