public enum TomcatOp extends Enum<TomcatOp>
| Enum Constant and Description |
|---|
reload |
start
启动
|
stop |
undeploy
删除发布
|
| Modifier and Type | Method and Description |
|---|---|
static TomcatOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TomcatOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TomcatOp start
public static final TomcatOp stop
public static final TomcatOp reload
public static final TomcatOp undeploy
public static TomcatOp[] values()
for (TomcatOp c : TomcatOp.values()) System.out.println(c);
public static TomcatOp 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 © 2017–2022. All rights reserved.