Package io.micronaut.microstream.rest
Class MicroStreamRestControllerConfigurationProperties
java.lang.Object
io.micronaut.microstream.rest.MicroStreamRestControllerConfigurationProperties
- All Implemented Interfaces:
 io.micronaut.core.util.Toggleable,MicroStreamRestControllerConfiguration
@ConfigurationProperties("microstream.rest")
public class MicroStreamRestControllerConfigurationProperties
extends Object
implements MicroStreamRestControllerConfiguration
Configuration properties for the 
MicroStreamRestController.- Since:
 - 1.0.0
 - Author:
 - Tim Yates
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetPath()booleanvoidsetEnabled(boolean enabled) EnablesMicroStreamRestController.voidPath to theMicroStreamRestController. 
- 
Field Details
- 
PREFIX
- See Also:
 
 - 
DEFAULT_ENABLED
public static final boolean DEFAULT_ENABLEDThe default enable value.- See Also:
 
 - 
DEFAULT_PATH
The default path.- See Also:
 
 
 - 
 - 
Constructor Details
- 
MicroStreamRestControllerConfigurationProperties
public MicroStreamRestControllerConfigurationProperties() 
 - 
 - 
Method Details
- 
isEnabled
public boolean isEnabled()- Specified by:
 isEnabledin interfaceio.micronaut.core.util.Toggleable- Returns:
 - true if you want to enable the 
MicroStreamRestController 
 - 
getPath
- Specified by:
 getPathin interfaceMicroStreamRestControllerConfiguration- Returns:
 - path to the 
MicroStreamRestController. Default value "microstream" 
 - 
setEnabled
public void setEnabled(boolean enabled) EnablesMicroStreamRestController. Default value false- Parameters:
 enabled- True if it is enabled
 - 
setPath
Path to theMicroStreamRestController. Default value "microstream"- Parameters:
 path- The path
 
 -