Enum InterceptorExecutionPolicy.InterceptorType
- java.lang.Object
-
- java.lang.Enum<InterceptorExecutionPolicy.InterceptorType>
-
- de.hybris.platform.servicelayer.interceptor.impl.InterceptorExecutionPolicy.InterceptorType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InterceptorExecutionPolicy.InterceptorType>
- Enclosing class:
- InterceptorExecutionPolicy
public static enum InterceptorExecutionPolicy.InterceptorType extends java.lang.Enum<InterceptorExecutionPolicy.InterceptorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INIT_DEFAULTS
LOAD
PREPARE
REMOVE
VALIDATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InterceptorExecutionPolicy.InterceptorType
fromString(java.lang.String type)
java.lang.Class<? extends Interceptor>
getBaseInterceptorClass()
static InterceptorExecutionPolicy.InterceptorType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InterceptorExecutionPolicy.InterceptorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALIDATE
public static final InterceptorExecutionPolicy.InterceptorType VALIDATE
-
PREPARE
public static final InterceptorExecutionPolicy.InterceptorType PREPARE
-
LOAD
public static final InterceptorExecutionPolicy.InterceptorType LOAD
-
REMOVE
public static final InterceptorExecutionPolicy.InterceptorType REMOVE
-
INIT_DEFAULTS
public static final InterceptorExecutionPolicy.InterceptorType INIT_DEFAULTS
-
-
Method Detail
-
values
public static InterceptorExecutionPolicy.InterceptorType[] 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 (InterceptorExecutionPolicy.InterceptorType c : InterceptorExecutionPolicy.InterceptorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterceptorExecutionPolicy.InterceptorType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromString
public static InterceptorExecutionPolicy.InterceptorType fromString(java.lang.String type)
-
getBaseInterceptorClass
public java.lang.Class<? extends Interceptor> getBaseInterceptorClass()
-
-