Class MethodAntn

    • Constructor Detail

      • MethodAntn

        public MethodAntn​(Class<?> beanClass,
                          Method method)
        Constructor.
        Parameters:
        beanClass - Bean class.
        method - The 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.
      • getParamOverride

        protected String getParamOverride​(String parameter,
                                          io.helidon.microprofile.faulttolerance.MethodAntn.MatchingType type)
        Returns override for parameter.
        Parameters:
        parameter - Parameter name.
        type - Matching type for annotation.
        Returns:
        Override value or null if none defined.