Class HomeHealthCheckFailure
- java.lang.Object
-
- com.atlassian.confluence.impl.health.checks.HomeHealthCheckFailure
-
public class HomeHealthCheckFailure extends Object
Gives the reason why the HomeHealthCheck failed. Can contain meta data needed to create a meaningful message for the user based on the failure reason.- Since:
- 6.6.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HomeHealthCheckFailure.Reason
Indicates the reason why the home check failed.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NonNull HomeHealthCheckFailure
badConfiguredHome(@NonNull HomeHealthCheckFailure.Reason reason, @NonNull String configuredHome)
@NonNull String
getConfiguredHome()
@NonNull HomeHealthCheckFailure.Reason
getReason()
static @NonNull HomeHealthCheckFailure
missingConfiguration(@NonNull HomeHealthCheckFailure.Reason reason)
-
-
-
Method Detail
-
missingConfiguration
public static @NonNull HomeHealthCheckFailure missingConfiguration(@NonNull HomeHealthCheckFailure.Reason reason)
-
badConfiguredHome
public static @NonNull HomeHealthCheckFailure badConfiguredHome(@NonNull HomeHealthCheckFailure.Reason reason, @NonNull String configuredHome)
-
getReason
public @NonNull HomeHealthCheckFailure.Reason getReason()
-
getConfiguredHome
public @NonNull String getConfiguredHome()
-
-