public static enum ProgressMonitor.Result extends Enum<ProgressMonitor.Result>
| Enum Constant and Description |
|---|
CANCELLED |
ERROR |
SUCCESS |
WORK_IN_PROGRESS |
| Modifier and Type | Method and Description |
|---|---|
static ProgressMonitor.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProgressMonitor.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgressMonitor.Result SUCCESS
public static final ProgressMonitor.Result WORK_IN_PROGRESS
public static final ProgressMonitor.Result ERROR
public static final ProgressMonitor.Result CANCELLED
public static ProgressMonitor.Result[] values()
for (ProgressMonitor.Result c : ProgressMonitor.Result.values()) System.out.println(c);
public static ProgressMonitor.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 nullCopyright © 2021. All rights reserved.