Enum AzureTelemetry.Type
- java.lang.Object
-
- java.lang.Enum<AzureTelemetry.Type>
-
- com.microsoft.azure.toolkit.lib.common.telemetry.AzureTelemetry.Type
-
- All Implemented Interfaces:
Serializable,Comparable<AzureTelemetry.Type>
- Enclosing class:
- AzureTelemetry
public static enum AzureTelemetry.Type extends Enum<AzureTelemetry.Type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AzureTelemetry.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static AzureTelemetry.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OP_START
public static final AzureTelemetry.Type OP_START
-
OP_END
public static final AzureTelemetry.Type OP_END
-
STEP
public static final AzureTelemetry.Type STEP
-
INFO
public static final AzureTelemetry.Type INFO
-
WARNING
public static final AzureTelemetry.Type WARNING
-
ERROR
public static final AzureTelemetry.Type ERROR
-
-
Field Detail
-
name
private final String name
-
-
Constructor Detail
-
Type
private Type(String name)
-
-
Method Detail
-
values
public static AzureTelemetry.Type[] 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 (AzureTelemetry.Type c : AzureTelemetry.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AzureTelemetry.Type 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
-
-