Enum InterceptorInvocationResult.Failed.Reason
- java.lang.Object
-
- java.lang.Enum<InterceptorInvocationResult.Failed.Reason>
-
- com.opencloud.slee.resources.sis.script.interceptors.InterceptorInvocationResult.Failed.Reason
-
- All Implemented Interfaces:
Serializable
,Comparable<InterceptorInvocationResult.Failed.Reason>
- Enclosing class:
- InterceptorInvocationResult.Failed
public static enum InterceptorInvocationResult.Failed.Reason extends Enum<InterceptorInvocationResult.Failed.Reason>
Interceptor invocation failure reasons.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MISSING_INTERCEPTOR
The interceptor reference does not reference a valid interceptor.OTHER
The interceptor invocation failed for some other reason.SIS_NOT_ACTIVE
The SIS instance is not active and thus cannot process the invocation request.UNKNOWN_INTERCEPTOR_REF
The named interceptor reference doesn't exist in the SIS.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InterceptorInvocationResult.Failed.Reason
valueOf(String name)
Returns the enum constant of this type with the specified name.static InterceptorInvocationResult.Failed.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIS_NOT_ACTIVE
public static final InterceptorInvocationResult.Failed.Reason SIS_NOT_ACTIVE
The SIS instance is not active and thus cannot process the invocation request.
-
UNKNOWN_INTERCEPTOR_REF
public static final InterceptorInvocationResult.Failed.Reason UNKNOWN_INTERCEPTOR_REF
The named interceptor reference doesn't exist in the SIS.
-
MISSING_INTERCEPTOR
public static final InterceptorInvocationResult.Failed.Reason MISSING_INTERCEPTOR
The interceptor reference does not reference a valid interceptor.
-
OTHER
public static final InterceptorInvocationResult.Failed.Reason OTHER
The interceptor invocation failed for some other reason.
-
-
Method Detail
-
values
public static InterceptorInvocationResult.Failed.Reason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InterceptorInvocationResult.Failed.Reason c : InterceptorInvocationResult.Failed.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterceptorInvocationResult.Failed.Reason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-