Class DownloadDiffControllerConfiguration

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

@ConfigurationProperties("projectgen.controllers.download-diff") public class DownloadDiffControllerConfiguration extends Object implements ControllerConfiguration
  • Field Details

  • Constructor Details

    • DownloadDiffControllerConfiguration

      public DownloadDiffControllerConfiguration()
  • 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)