Class DevMode


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

    • Method Detail

      • getDeveloperMode

        public static DevMode.DEVMODE 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.