Class DiffControllerConfiguration

java.lang.Object
io.micronaut.projectgen.http.server.conf.DiffControllerConfiguration
All Implemented Interfaces:
io.micronaut.core.util.Toggleable, ControllerConfiguration

@ConfigurationProperties("project.controllers.diff") public class DiffControllerConfiguration extends Object implements ControllerConfiguration
  • Field Details

  • Constructor Details

    • DiffControllerConfiguration

      public DiffControllerConfiguration()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface io.micronaut.core.util.Toggleable
    • setEnabled

      public void setEnabled(boolean enabled)
    • getPath

      public String getPath()
      Specified by:
      getPath in interface ControllerConfiguration
      Returns:
      the path where the controller is enabled.
    • setPath

      public void setPath(String path)