Package net.jqwik.api
Class JavaBeanReportingFormat
java.lang.Object
net.jqwik.api.JavaBeanReportingFormat
- All Implemented Interfaces:
Comparable<SampleReportingFormat>
,SampleReportingFormat
@API(status=MAINTAINED,
since="1.3.10")
public abstract class JavaBeanReportingFormat
extends Object
implements SampleReportingFormat
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected abstract Collection<Class<?>>
protected Collection<String>
final Object
Transform the value into one that will be handled by default mechanism, e.g. a Collection, a String, a Map.protected boolean
sortProperties
(List<String> properties) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.jqwik.api.SampleReportingFormat
compareTo, priority
-
Constructor Details
-
JavaBeanReportingFormat
public JavaBeanReportingFormat()
-
-
Method Details
-
beanTypes
-
excludeProperties
-
sortProperties
-
reportNulls
protected boolean reportNulls() -
label
- Specified by:
label
in interfaceSampleReportingFormat
- Parameters:
value
- the value to format- Returns:
- an optional label prepended to a value's report
-
appliesTo
- Specified by:
appliesTo
in interfaceSampleReportingFormat
- Parameters:
value
- the value to format- Returns:
- true if this format applies
-
report
Description copied from interface:SampleReportingFormat
Transform the value into one that will be handled by default mechanism, e.g. a Collection, a String, a Map.- Specified by:
report
in interfaceSampleReportingFormat
- Parameters:
value
- the value to format- Returns:
- the transformed value
-