Enum HomeHealthCheckFailure.Reason
- java.lang.Object
-
- java.lang.Enum<HomeHealthCheckFailure.Reason>
-
- com.atlassian.confluence.impl.health.checks.HomeHealthCheckFailure.Reason
-
- All Implemented Interfaces:
Serializable
,Comparable<HomeHealthCheckFailure.Reason>
- Enclosing class:
- HomeHealthCheckFailure
public static enum HomeHealthCheckFailure.Reason extends Enum<HomeHealthCheckFailure.Reason>
Indicates the reason why the home check failed.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATION_FAILED_WRITE_PERMISSION
NOT_A_DIR
NOT_CONFIGURED
PATH_NOT_ABSOLUTE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull String
getAnalyticsValue()
static HomeHealthCheckFailure.Reason
valueOf(String name)
Returns the enum constant of this type with the specified name.static HomeHealthCheckFailure.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_CONFIGURED
public static final HomeHealthCheckFailure.Reason NOT_CONFIGURED
-
PATH_NOT_ABSOLUTE
public static final HomeHealthCheckFailure.Reason PATH_NOT_ABSOLUTE
-
NOT_A_DIR
public static final HomeHealthCheckFailure.Reason NOT_A_DIR
-
CREATION_FAILED_WRITE_PERMISSION
public static final HomeHealthCheckFailure.Reason CREATION_FAILED_WRITE_PERMISSION
-
-
Method Detail
-
values
public static HomeHealthCheckFailure.Reason[] 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 (HomeHealthCheckFailure.Reason c : HomeHealthCheckFailure.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HomeHealthCheckFailure.Reason 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
-
getAnalyticsValue
public @NonNull String getAnalyticsValue()
-
-