public static enum ResourceLimits.Outcome extends java.lang.Enum<ResourceLimits.Outcome>
Enum Constant and Description |
---|
ABOVE_LIMIT |
BELOW_LIMIT |
INSUFFICIENT_ENDPOINT |
INSUFFICIENT_GLOBAL |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static ResourceLimits.Outcome |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceLimits.Outcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceLimits.Outcome SUCCESS
public static final ResourceLimits.Outcome INSUFFICIENT_ENDPOINT
public static final ResourceLimits.Outcome INSUFFICIENT_GLOBAL
public static final ResourceLimits.Outcome BELOW_LIMIT
public static final ResourceLimits.Outcome ABOVE_LIMIT
public static ResourceLimits.Outcome[] values()
for (ResourceLimits.Outcome c : ResourceLimits.Outcome.values()) System.out.println(c);
public static ResourceLimits.Outcome valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2009-2022 The Apache Software Foundation