@ConfigurationProperties(value="microstream.rest") public class MicroStreamRestControllerConfigurationProperties extends java.lang.Object implements MicroStreamRestControllerConfiguration
MicroStreamRestController
.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static java.lang.String |
DEFAULT_PATH
The default path.
|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
MicroStreamRestControllerConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPath() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Enables
MicroStreamRestController . |
void |
setPath(java.lang.String path)
Path to the
MicroStreamRestController . |
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLED
public static final java.lang.String DEFAULT_PATH
public MicroStreamRestControllerConfigurationProperties()
public boolean isEnabled()
isEnabled
in interface io.micronaut.core.util.Toggleable
MicroStreamRestController
@NonNull public java.lang.String getPath()
getPath
in interface MicroStreamRestControllerConfiguration
MicroStreamRestController
. Default value "microstream"public void setEnabled(boolean enabled)
MicroStreamRestController
. Default value falseenabled
- True if it is enabledpublic void setPath(@NonNull java.lang.String path)
MicroStreamRestController
. Default value "microstream"path
- The path