public enum ConsoleMode extends Enum<ConsoleMode>
Enum Constant and Description |
---|
ADMIN_ONLY
If an attempt is made to go to the console show an error saying the server/host is in admin-only mode
|
CONSOLE
Show the console normally
|
NO_CONSOLE
If an attempt is made to go to the console a 404 is shown
|
SLAVE_HC
If an attempt is made to go to the console show an error saying the host is a slave
|
Modifier and Type | Method and Description |
---|---|
protected static ClassLoader |
getClassLoader(org.jboss.modules.ModuleLoader moduleLoader,
String module,
String slot) |
boolean |
hasConsole()
Returns whether the console is displayed or not
|
static ConsoleMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsoleMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleMode CONSOLE
public static final ConsoleMode SLAVE_HC
public static final ConsoleMode ADMIN_ONLY
public static final ConsoleMode NO_CONSOLE
public static ConsoleMode[] values()
for (ConsoleMode c : ConsoleMode.values()) System.out.println(c);
public static ConsoleMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean hasConsole()
protected static ClassLoader getClassLoader(org.jboss.modules.ModuleLoader moduleLoader, String module, String slot) throws org.jboss.modules.ModuleLoadException
org.jboss.modules.ModuleLoadException
Copyright © 2023 JBoss by Red Hat. All rights reserved.