@Retention(value=RUNTIME) @Target(value={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
.
PathMatchingResourcePatternResolver
,
DataProvider
public abstract String value
Copyright © 2018–2021 b+m Informatik AG. All rights reserved.