public static enum InterceptorInvocationResult.Outcome extends Enum<InterceptorInvocationResult.Outcome>
Enum Constant and Description |
---|
COMPLETED
The interceptor has completed.
|
FAILED
The interceptor invocation failed, typically because the referenced interceptor could not be found.
|
IN_PROGRESS
The interceptor execution is in progress and will complete asynchronously.
|
Modifier and Type | Method and Description |
---|---|
static InterceptorInvocationResult.Outcome |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterceptorInvocationResult.Outcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterceptorInvocationResult.Outcome COMPLETED
public static final InterceptorInvocationResult.Outcome IN_PROGRESS
InterceptorInvocationCompletedEvent
will be fired on the InterceptorActivity
when the interceptor completes.public static final InterceptorInvocationResult.Outcome FAILED
public static InterceptorInvocationResult.Outcome[] values()
for (InterceptorInvocationResult.Outcome c : InterceptorInvocationResult.Outcome.values()) System.out.println(c);
public static InterceptorInvocationResult.Outcome 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