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
ControllerConfiguration for Download Diff Controller.
  • 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)
      Parameters:
      enabled - Whether the controller is enabled. Default value: true.
    • getPath

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

      public void setPath(String path)
      Parameters:
      path - Controller path. Default value: /api/v1/download/diff