public enum DoneStatus extends Enum<DoneStatus>
CommandDone.Response.| Enum Constant and Description |
|---|
FAILED
The failed status.
|
SUCCESS
The success status.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getStatus()
Returns the status.
|
static DoneStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DoneStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DoneStatus SUCCESS
public static final DoneStatus FAILED
public static DoneStatus[] values()
for (DoneStatus c : DoneStatus.values()) System.out.println(c);
public static DoneStatus 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 String getStatus()
Copyright © 2023 OBM, LLC. All rights reserved.