Annotation Type Action


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Component
    public @interface Action
    Classes annotated with Action are marked as Spring component and get new fields of the type TapirAssertions and CoreAssertions. The fields are autowired by Spring and marked as Xtend extension.
    Usage example:
     
     @Action
     class MyClass {
     }
     
     
    Leads to:
     
     @Action
     public class MyClass {
       @Extension
       @Autowired
       private TapirAssertions _tapirAssertions;
     
       @Extension
       @Autowired
       private CoreAssertions _coreAssertions;
     }
     
     
    Since:
    3.1.0
    Author:
    Oliver Libutzki <[email protected]>
    See Also:
    TapirAssertions, CoreAssertions