Class DevMode

java.lang.Object
org.ametys.core.DevMode

public final class DevMode extends Object
Static class for retrieving and setting the development mode of the application.
  • Field Details

  • Method Details

    • getDeveloperMode

      Check if the current config is in developer mode.
      Returns:
      True if the developer mode is activated.
    • getDeveloperMode

      public static DevMode.DEVMODE getDeveloperMode(Request request)
      Check if the current config is in developer mode for the current request.
      Parameters:
      request - The current request. Can be null.
      Returns:
      True if the developer mode is activated.