Annotation Interface AddConfigBlocks


@Inherited @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface AddConfigBlocks
A repeatable container for AddConfigBlock.

This annotation is optional, you can instead repeat AddConfigBlock.

E.g.

 @AddConfigBlock(type = "yaml", value = """
     foo1:
       bar: "value1"
 """)
 @AddConfigBlock(type = "yaml", value = """
     foo2:
       bar: "value2"
 """)
 class MyTest {
 }
 
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Get the contained annotations.
  • Element Details

    • value

      Get the contained annotations.
      Returns:
      annotations