public static enum SchedulerRpcService.TaskOperation extends Enum<SchedulerRpcService.TaskOperation>
| 枚举常量和说明 |
|---|
DISABLE_DEBUG |
ENABLE_DEBUG |
PAUSE |
RELOAD |
SHUTDOWN |
START |
| 限定符和类型 | 方法和说明 |
|---|---|
static SchedulerRpcService.TaskOperation |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SchedulerRpcService.TaskOperation[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SchedulerRpcService.TaskOperation START
public static final SchedulerRpcService.TaskOperation PAUSE
public static final SchedulerRpcService.TaskOperation RELOAD
public static final SchedulerRpcService.TaskOperation SHUTDOWN
public static final SchedulerRpcService.TaskOperation ENABLE_DEBUG
public static final SchedulerRpcService.TaskOperation DISABLE_DEBUG
public static SchedulerRpcService.TaskOperation[] values()
for (SchedulerRpcService.TaskOperation c : SchedulerRpcService.TaskOperation.values()) System.out.println(c);
public static SchedulerRpcService.TaskOperation valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2019–2021. All rights reserved.