public abstract class DiscoveryConfiguration extends java.lang.Object implements Toggleable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static java.lang.String |
PREFIX
The prefix to use for all client discovery settings.
|
Constructor and Description |
---|
DiscoveryConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Default value (true).
|
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLED
public boolean isEnabled()
isEnabled
in interface Toggleable
public void setEnabled(boolean enabled)
enabled
- Whether discovery is enabled