public static enum DiskBalancerWorkStatus.Result extends Enum<DiskBalancerWorkStatus.Result>
| Enum Constant and Description | 
|---|
| NO_PLAN | 
| PLAN_CANCELLED | 
| PLAN_DONE | 
| PLAN_UNDER_PROGRESS | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getIntResult()Get int value of result. | 
| static DiskBalancerWorkStatus.Result | valueOf(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(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 nullpublic int getIntResult()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.