public static enum Scribe.ResultCode extends Enum<Scribe.ResultCode>
Modifier and Type | Method and Description |
---|---|
int |
value() |
static Scribe.ResultCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scribe.ResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scribe.ResultCode OK
public static final Scribe.ResultCode TRY_LATER
public static Scribe.ResultCode[] values()
for (Scribe.ResultCode c : Scribe.ResultCode.values()) System.out.println(c);
public static Scribe.ResultCode 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 null@ThriftEnumValue public int value()
Copyright © 2015–2018 OpenZipkin. All rights reserved.