Enum ConsoleMode

    • Enum Constant Detail

      • CONSOLE

        public static final ConsoleMode CONSOLE
        Show the console normally
      • SLAVE_HC

        public static final ConsoleMode SLAVE_HC
        If an attempt is made to go to the console show an error saying the host is a Secondary Host
      • ADMIN_ONLY

        public static final ConsoleMode ADMIN_ONLY
        If an attempt is made to go to the console show an error saying the server/host is in admin-only mode
      • NO_CONSOLE

        public static final ConsoleMode NO_CONSOLE
        If an attempt is made to go to the console a 404 is shown
    • Method Detail

      • values

        public static ConsoleMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ConsoleMode c : ConsoleMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ConsoleMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • hasConsole

        public boolean hasConsole()
        Returns whether the console is displayed or not
      • getClassLoader

        protected static ClassLoader getClassLoader​(org.jboss.modules.ModuleLoader moduleLoader,
                                                    String module,
                                                    String slot)
                                             throws org.jboss.modules.ModuleLoadException
        Throws:
        org.jboss.modules.ModuleLoadException