Enum AppConfigurationStoreHealth
- java.lang.Object
-
- java.lang.Enum<AppConfigurationStoreHealth>
-
- com.azure.spring.cloud.config.health.AppConfigurationStoreHealth
-
- All Implemented Interfaces:
Serializable,Comparable<AppConfigurationStoreHealth>
public enum AppConfigurationStoreHealth extends Enum<AppConfigurationStoreHealth>
App Configuration Health states
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOWNLast connection attempt to Configuration Store failed.NOT_LOADEDConfiguration Store isn't loaded.UPLast connection attempt to Configuration Store succeeded.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AppConfigurationStoreHealthvalueOf(String name)Returns the enum constant of this type with the specified name.static AppConfigurationStoreHealth[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UP
public static final AppConfigurationStoreHealth UP
Last connection attempt to Configuration Store succeeded.
-
DOWN
public static final AppConfigurationStoreHealth DOWN
Last connection attempt to Configuration Store failed.
-
NOT_LOADED
public static final AppConfigurationStoreHealth NOT_LOADED
Configuration Store isn't loaded.
-
-
Method Detail
-
values
public static AppConfigurationStoreHealth[] 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 (AppConfigurationStoreHealth c : AppConfigurationStoreHealth.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AppConfigurationStoreHealth 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
-
-