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