Package jetbrains.buildServer.util
Enum IntervalMetric.ValueType
- java.lang.Object
-
- java.lang.Enum<IntervalMetric.ValueType>
-
- jetbrains.buildServer.util.IntervalMetric.ValueType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IntervalMetric.ValueType>
- Enclosing class:
- IntervalMetric
public static enum IntervalMetric.ValueType extends java.lang.Enum<IntervalMetric.ValueType>
Represents type of the metric. Type affects how value is serialized to string.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IntervalMetric.ValueType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IntervalMetric.ValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIMPLE
public static final IntervalMetric.ValueType SIMPLE
-
BYTES
public static final IntervalMetric.ValueType BYTES
-
-
Method Detail
-
values
public static IntervalMetric.ValueType[] 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 (IntervalMetric.ValueType c : IntervalMetric.ValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IntervalMetric.ValueType 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
-
-