public enum StreamReturnCode extends Enum<StreamReturnCode>
| Enum Constant and Description |
|---|
CONTENT_TOO_LARGE |
NO_CONSUMERS |
NO_ROUTE |
| Modifier and Type | Method and Description |
|---|---|
static StreamReturnCode |
get(int value) |
int |
getValue() |
static StreamReturnCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamReturnCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamReturnCode CONTENT_TOO_LARGE
public static final StreamReturnCode NO_ROUTE
public static final StreamReturnCode NO_CONSUMERS
public static StreamReturnCode[] values()
for (StreamReturnCode c : StreamReturnCode.values()) System.out.println(c);
public static StreamReturnCode 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 int getValue()
public static StreamReturnCode get(int value)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.