Package io.split.telemetry.domain.enums
Enum MethodEnum
- java.lang.Object
-
- java.lang.Enum<MethodEnum>
-
- io.split.telemetry.domain.enums.MethodEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MethodEnum>
public enum MethodEnum extends Enum<MethodEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TRACKTREATMENTTREATMENT_WITH_CONFIGTREATMENTSTREATMENTS_BY_FLAG_SETTREATMENTS_BY_FLAG_SETSTREATMENTS_WITH_CONFIGTREATMENTS_WITH_CONFIG_BY_FLAG_SETTREATMENTS_WITH_CONFIG_BY_FLAG_SETS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMethod()static MethodEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MethodEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TREATMENT
public static final MethodEnum TREATMENT
-
TREATMENTS
public static final MethodEnum TREATMENTS
-
TREATMENT_WITH_CONFIG
public static final MethodEnum TREATMENT_WITH_CONFIG
-
TREATMENTS_WITH_CONFIG
public static final MethodEnum TREATMENTS_WITH_CONFIG
-
TREATMENTS_BY_FLAG_SET
public static final MethodEnum TREATMENTS_BY_FLAG_SET
-
TREATMENTS_BY_FLAG_SETS
public static final MethodEnum TREATMENTS_BY_FLAG_SETS
-
TREATMENTS_WITH_CONFIG_BY_FLAG_SET
public static final MethodEnum TREATMENTS_WITH_CONFIG_BY_FLAG_SET
-
TREATMENTS_WITH_CONFIG_BY_FLAG_SETS
public static final MethodEnum TREATMENTS_WITH_CONFIG_BY_FLAG_SETS
-
TRACK
public static final MethodEnum TRACK
-
-
Method Detail
-
values
public static MethodEnum[] 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 (MethodEnum c : MethodEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MethodEnum 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
-
getMethod
public String getMethod()
-
-