public static enum TomcatServerComponent.ControlMethod extends Enum<TomcatServerComponent.ControlMethod>
| Enum Constant and Description |
|---|
RPM
Control operations should be performed via System V init script.
|
SCRIPT
Control operations should be performed via the scripts set in the plugin configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static TomcatServerComponent.ControlMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TomcatServerComponent.ControlMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TomcatServerComponent.ControlMethod RPM
public static final TomcatServerComponent.ControlMethod SCRIPT
public static TomcatServerComponent.ControlMethod[] values()
for (TomcatServerComponent.ControlMethod c : TomcatServerComponent.ControlMethod.values()) System.out.println(c);
public static TomcatServerComponent.ControlMethod 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.