@API(status=MAINTAINED, since="1.3.10") public abstract class JavaBeanReportingFormat extends java.lang.Object implements SampleReportingFormat
Modifier and Type | Class and Description |
---|---|
static class |
JavaBeanReportingFormat.JavaBeanReportingFormatFacade |
Constructor and Description |
---|
JavaBeanReportingFormat() |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(java.lang.Object value) |
protected abstract java.util.Collection<java.lang.Class<?>> |
beanTypes() |
protected java.util.Collection<java.lang.String> |
excludeProperties() |
java.util.Optional<java.lang.String> |
label(java.lang.Object value) |
java.lang.Object |
report(java.lang.Object value)
Transform the value into one that will be handled by default mechanism,
e.g. a Collection, a String, a Map.
|
protected boolean |
reportNulls() |
protected java.util.List<java.lang.String> |
sortProperties(java.util.List<java.lang.String> properties) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo, plainLabel, priority
protected abstract java.util.Collection<java.lang.Class<?>> beanTypes()
protected java.util.Collection<java.lang.String> excludeProperties()
protected java.util.List<java.lang.String> sortProperties(java.util.List<java.lang.String> properties)
protected boolean reportNulls()
public java.util.Optional<java.lang.String> label(java.lang.Object value)
label
in interface SampleReportingFormat
value
- the value to formatpublic boolean appliesTo(java.lang.Object value)
appliesTo
in interface SampleReportingFormat
value
- the value to formatpublic final java.lang.Object report(java.lang.Object value)
SampleReportingFormat
report
in interface SampleReportingFormat
value
- the value to format