Package io.micronaut.eclipsestore.rest
Class EclipseStoreRestControllerConfigurationProperties
java.lang.Object
io.micronaut.eclipsestore.rest.EclipseStoreRestControllerConfigurationProperties
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
,EclipseStoreRestControllerConfiguration
@ConfigurationProperties("eclipsestore.rest")
public class EclipseStoreRestControllerConfigurationProperties
extends Object
implements EclipseStoreRestControllerConfiguration
Configuration properties for the
EclipseStoreRestController
.- Since:
- 1.0.0
- Author:
- Tim Yates
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
getPath()
boolean
void
setEnabled
(boolean enabled) EnablesEclipseStoreRestController
.void
Path to theEclipseStoreRestController
.
-
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
-
EclipseStoreRestControllerConfigurationProperties
public EclipseStoreRestControllerConfigurationProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceio.micronaut.core.util.Toggleable
- Returns:
- true if you want to enable the
EclipseStoreRestController
-
getPath
- Specified by:
getPath
in interfaceEclipseStoreRestControllerConfiguration
- Returns:
- path to the
EclipseStoreRestController
. Default value "eclipsestore"
-
setEnabled
public void setEnabled(boolean enabled) EnablesEclipseStoreRestController
. Default value false- Parameters:
enabled
- True if it is enabled
-
setPath
Path to theEclipseStoreRestController
. Default value "eclipsestore"- Parameters:
path
- The path
-