java.io.Serializable, java.lang.Comparable<DiskBalancerWorkStatus.Result>public static enum DiskBalancerWorkStatus.Result extends java.lang.Enum<DiskBalancerWorkStatus.Result>
| Enum Constant | Description |
|---|---|
NO_PLAN |
|
PLAN_CANCELLED |
|
PLAN_DONE |
|
PLAN_UNDER_PROGRESS |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getIntResult() |
Get int value of result.
|
static DiskBalancerWorkStatus.Result |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DiskBalancerWorkStatus.Result[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiskBalancerWorkStatus.Result NO_PLAN
public static final DiskBalancerWorkStatus.Result PLAN_UNDER_PROGRESS
public static final DiskBalancerWorkStatus.Result PLAN_DONE
public static final DiskBalancerWorkStatus.Result PLAN_CANCELLED
public static DiskBalancerWorkStatus.Result[] values()
for (DiskBalancerWorkStatus.Result c : DiskBalancerWorkStatus.Result.values()) System.out.println(c);
public static DiskBalancerWorkStatus.Result valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getIntResult()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.