Package com.tngtech.jgiven.annotation
Annotation Interface NamedFormat
Allow to specify an identifiable format
- Since:
- 0.15.0
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionSpecify an inlineFormatClass<? extends Annotation> Specify a custom format annotation
-
Element Details
-
name
String nameSpecify a name identifying this format -
format
Format formatSpecify an inlineFormatMutually exclusive with
formatAnnotation()- Default:
@com.tngtech.jgiven.annotation.Format(com.tngtech.jgiven.format.DefaultObjectFormatter.class)
-
formatAnnotation
Class<? extends Annotation> formatAnnotationSpecify a custom format annotation- Default:
java.lang.annotation.Annotation.class
-