Class FeaturesControllerConfiguration
java.lang.Object
io.micronaut.projectgen.http.server.conf.FeaturesControllerConfiguration
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
,ControllerConfiguration
@ConfigurationProperties("projectgen.controllers.features")
public class FeaturesControllerConfiguration
extends Object
implements ControllerConfiguration
ControllerConfiguration
for Features Controller.-
Field Summary
FieldsFields inherited from interface io.micronaut.projectgen.http.server.conf.ControllerConfiguration
API_V1, V1
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PREFIX
- See Also:
-
DEFAULT_PATH
- See Also:
-
-
Constructor Details
-
FeaturesControllerConfiguration
public FeaturesControllerConfiguration()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceio.micronaut.core.util.Toggleable
-
setEnabled
public void setEnabled(boolean enabled) - Parameters:
enabled
- Whether the controller is enabled. Default value: true.
-
getPath
- Specified by:
getPath
in interfaceControllerConfiguration
- Returns:
- the path where the controller is enabled.
-
setPath
- Parameters:
path
- Controller path. Default value: /api/v1/features
-