Package net.jqwik.api
Interface SampleReportingFormat
- All Superinterfaces:
- Comparable<SampleReportingFormat>
- All Known Implementing Classes:
- JavaBeanReportingFormat
@API(status=MAINTAINED,
     since="1.4.0")
public interface SampleReportingFormat
extends Comparable<SampleReportingFormat>
- 
Method SummaryModifier and TypeMethodDescriptionbooleandefault intcompareTo(SampleReportingFormat other) static ObjectplainLabel(String plain) Use in report(Object) if you just want to report a plain label and not a String in quotes.default intpriority()Higher priorities have precedence.Transform the value into one that will be handled by default mechanism, e.g. a Collection, a String, a Map.
- 
Method Details- 
plainLabelUse in report(Object) if you just want to report a plain label and not a String in quotes.- Parameters:
- plain- String to report
- Returns:
- an object that will be reported as a plain label
 
- 
appliesTo- Parameters:
- value- the value to format
- Returns:
- true if this format applies
 
- 
reportTransform the value into one that will be handled by default mechanism, e.g. a Collection, a String, a Map.- Parameters:
- value- the value to format
- Returns:
- the transformed value
 
- 
label- Parameters:
- value- the value to format
- Returns:
- an optional label prepended to a value's report
 
- 
prioritydefault int priority()Higher priorities have precedence.- Returns:
- priority with which to apply this format
 
- 
compareTo- Specified by:
- compareToin interface- Comparable<SampleReportingFormat>
 
 
-