public static enum CompletionContext.Status extends Enum<CompletionContext.Status>
Enum Constant and Description |
---|
DISCARD
Request did not go off box and should not be counted for statistics.
|
FAILED
Request reached the server but failed due to timeout or internal error.
|
SUCCESS
Request was handled successfully.
|
Modifier and Type | Method and Description |
---|---|
static CompletionContext.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompletionContext.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompletionContext.Status SUCCESS
public static final CompletionContext.Status FAILED
public static final CompletionContext.Status DISCARD
public static CompletionContext.Status[] values()
for (CompletionContext.Status c : CompletionContext.Status.values()) System.out.println(c);
public static CompletionContext.Status 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 Pivotal Software, Inc.. All rights reserved.