public enum ConsoleCommandOp extends Enum<ConsoleCommandOp>
Enum Constant and Description |
---|
heart
心跳
|
restart |
showlog
运行日志
|
start
启动
|
status |
stop |
top
查看内存信息
|
Modifier and Type | Method and Description |
---|---|
static ConsoleCommandOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsoleCommandOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleCommandOp start
public static final ConsoleCommandOp stop
public static final ConsoleCommandOp restart
public static final ConsoleCommandOp status
public static final ConsoleCommandOp showlog
public static final ConsoleCommandOp top
public static final ConsoleCommandOp heart
public static ConsoleCommandOp[] values()
for (ConsoleCommandOp c : ConsoleCommandOp.values()) System.out.println(c);
public static ConsoleCommandOp 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–2019. All rights reserved.