@Immutable public final class DefaultClusterRolesConfig extends Object implements HealthCheckConfig.ClusterRolesConfig
HealthCheckConfig.ClusterRolesConfig.ClusterRolesConfigValue| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Set<String> |
getExpectedClusterRoles()
Returns the roles the health check expected to be present in the running cluster.
|
int |
hashCode() |
boolean |
isEnabled()
Indicates whether the health check for presence of all cluster roles should be enabled or not.
|
static DefaultClusterRolesConfig |
of(com.typesafe.config.Config config)
Returns an instance of
DefaultClusterRolesConfig based on the settings of the specified Config. |
String |
toString() |
public static DefaultClusterRolesConfig of(com.typesafe.config.Config config)
DefaultClusterRolesConfig based on the settings of the specified Config.config - is supposed to provide the settings of the cluster roles config at .org.eclipse.ditto.services.utils.config.DittoConfigError - if config is invalid.public boolean isEnabled()
HealthCheckConfig.ClusterRolesConfigisEnabled in interface HealthCheckConfig.ClusterRolesConfigtrue if the health check for presence of all cluster roles should be enabled, false
else.public Set<String> getExpectedClusterRoles()
HealthCheckConfig.ClusterRolesConfiggetExpectedClusterRoles in interface HealthCheckConfig.ClusterRolesConfigCopyright © 2017–2019 Eclipse Foundation. All rights reserved.