public enum InterceptorType extends java.lang.Enum<InterceptorType>
Modifier and Type | Method and Description |
---|---|
InterceptorMethodMetaInfo |
createMetaInfo(ControllerClassMetaInfo clsInfo) |
static InterceptorType |
of(java.lang.Class<? extends java.lang.annotation.Annotation> clz) |
static InterceptorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InterceptorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterceptorType BEFORE
public static final InterceptorType AFTER
public static final InterceptorType CATCH
public static final InterceptorType FINALLY
public static InterceptorType[] values()
for (InterceptorType c : InterceptorType.values()) System.out.println(c);
public static InterceptorType 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 nullpublic InterceptorMethodMetaInfo createMetaInfo(ControllerClassMetaInfo clsInfo)
public static InterceptorType of(java.lang.Class<? extends java.lang.annotation.Annotation> clz)
Copyright © 2014–2017 ActFramework. All rights reserved.