Interface AnnotationRuleProvider<A extends Annotation,E extends AnnotatedElement,R extends Rule>

All Known Implementing Classes:
AttributeCallParamRuleProvider, BeanPropertySetterRuleProvider, CallMethodRuleProvider, CallParamRuleProvider, FactoryCreateRuleProvider, ObjectCreateRuleProvider, PathCallParamRuleProvider, SetNextRuleProvider, SetPropertiesRuleProvider, SetRootRuleProvider, SetTopRuleProvider, StackCallParamRuleProvider

public interface AnnotationRuleProvider<A extends Annotation,E extends AnnotatedElement,R extends Rule>
An object capable of providing instances of Rule.
Since:
2.1
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Provides an instance of Rule.
    void
    init(A annotation, E element)
    Initializes the provider.
  • Method Details

    • init

      void init(A annotation, E element)
      Initializes the provider.
      Parameters:
      annotation - the annotation instance.
      element - the annotated element reference.
    • get

      R get()
      Provides an instance of Rule. Must never return null.
      Returns:
      an instance of Rule.