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
-
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:
-
-
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) -
getPath
- Specified by:
getPath
in interfaceControllerConfiguration
- Returns:
- the path where the controller is enabled.
-
setPath
-