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