public enum OperationStatus extends Enum<OperationStatus>
Enum Constant and Description |
---|
CANCEL |
DONE |
PROCESSING |
SENDING |
SENT |
WRITING |
Modifier and Type | Method and Description |
---|---|
static OperationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationStatus SENDING
public static final OperationStatus WRITING
public static final OperationStatus SENT
public static final OperationStatus PROCESSING
public static final OperationStatus DONE
public static final OperationStatus CANCEL
public static OperationStatus[] values()
for (OperationStatus c : OperationStatus.values()) System.out.println(c);
public static OperationStatus 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.