注釈型 ParameterMapping
@Documented @Target(TYPE) @Retention(RUNTIME) public @interface ParameterMapping
An annotation that maps a content file that defines the expectations for
entity validation.
In the content file, define your expectations in a format that conforms to the content framework's specifications. You may obtain information of the Content Framework at ! https://github.com/myConsciousness/content-framework
Specify the annotation to the class of the entity to be verified as follows.
@ParameterMapping(content = "content")
public class ConcreteEntity implements ValidatableEntity, Serializable {
* // define something
}
- 導入されたバージョン:
- 1.0.0
-
必須要素の概要
-
要素の詳細
-
content
String contentReturns the path to a content file with defined expectations to be used when performing the verification.- 戻り値:
- The path to a content file with defined expectations to be used when performing the verification
-