public static enum TomcatServerComponent.SupportedOperations extends Enum<TomcatServerComponent.SupportedOperations>
| Enum Constant and Description |
|---|
RESTART
Restarts a Tomcat instance by calling a configurable restart script.
|
SHUTDOWN
Shuts down a Tomcat instance via a shutdown script, depending on plug-in configuration
|
START
Starts a Tomcat instance by calling a configurable start script.
|
STORECONFIG
Physically writes out the latest state to server.xml.
|
| Modifier and Type | Method and Description |
|---|---|
static TomcatServerComponent.SupportedOperations |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TomcatServerComponent.SupportedOperations[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TomcatServerComponent.SupportedOperations RESTART
public static final TomcatServerComponent.SupportedOperations SHUTDOWN
public static final TomcatServerComponent.SupportedOperations START
public static final TomcatServerComponent.SupportedOperations STORECONFIG
public static TomcatServerComponent.SupportedOperations[] values()
for (TomcatServerComponent.SupportedOperations c : TomcatServerComponent.SupportedOperations.values()) System.out.println(c);
public static TomcatServerComponent.SupportedOperations 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 nullCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.