public enum StatusRunning extends Enum<StatusRunning>
| Enum Constant and Description |
|---|
COMPLETE
Action completed successfully.
|
FAILED
Action failed.
|
IN_PROGRESS
Action is currently running.
|
PENDING
Action is pending.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDone()
Returns whether or not the action is done.
|
boolean |
isSuccess()
Returns whether or not the action is done.
|
static StatusRunning |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusRunning[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusRunning PENDING
public static final StatusRunning IN_PROGRESS
public static final StatusRunning COMPLETE
public static final StatusRunning FAILED
public static StatusRunning[] values()
for (StatusRunning c : StatusRunning.values()) System.out.println(c);
public static StatusRunning 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 boolean isDone()
public boolean isSuccess()
Copyright © 2024 OBM, LLC. All rights reserved.