Annotation Type Resource


  • @Retention(RUNTIME)
    @Target({FIELD,PARAMETER})
    public @interface Resource
    Resource can be used in conjunction with Parameter and IteratedParameter. It's a convenience annotation which dispenses the need for manually implementing the data provider.

    The given resource string is resolved by PathMatchingResourcePatternResolver and the data is fetched via consulting the DataProvider.

    Since:
    3.0.0
    Author:
    Oliver Libutzki <[email protected]>
    See Also:
    PathMatchingResourcePatternResolver, DataProvider
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value  
    • Element Detail

      • value

        java.lang.String value