Class MethodAntn
- java.lang.Object
-
- io.helidon.microprofile.faulttolerance.MethodAntn
-
- Direct Known Subclasses:
AsynchronousAntn,BulkheadAntn,CircuitBreakerAntn,FallbackAntn,RetryAntn,TimeoutAntn
public abstract class MethodAntn extends Object
Class MethodAntn.
-
-
Constructor Summary
Constructors Constructor Description MethodAntn(Class<?> beanClass, Method method)Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Class<? extends Annotation>annotationType()Get annotation type.protected StringgetParamOverride(String parameter, io.helidon.microprofile.faulttolerance.MethodAntn.MatchingType type)Returns override for parameter.<A extends Annotation>
io.helidon.microprofile.faulttolerance.MethodAntn.LookupResult<A>lookupAnnotation(Class<A> annotClass)Look up an annotation on the method.abstract voidvalidate()Validate the annotation on this method.
-
-
-
Method Detail
-
lookupAnnotation
public final <A extends Annotation> io.helidon.microprofile.faulttolerance.MethodAntn.LookupResult<A> lookupAnnotation(Class<A> annotClass)
Look up an annotation on the method.- Type Parameters:
A- Annotation class type param.- Parameters:
annotClass- Annotation class.- Returns:
- A lookup result.
-
validate
public abstract void validate()
Validate the annotation on this method.
-
annotationType
public Class<? extends Annotation> annotationType()
Get annotation type.- Returns:
- Annotation type.
-
-