Package net.jqwik.api

Class JavaBeanReportingFormat

    • Constructor Detail

      • JavaBeanReportingFormat

        public JavaBeanReportingFormat()
    • Method Detail

      • beanTypes

        protected abstract java.util.Collection<java.lang.Class<?>> beanTypes()
      • excludeProperties

        protected java.util.Collection<java.lang.String> excludeProperties()
      • sortProperties

        protected java.util.List<java.lang.String> sortProperties​(java.util.List<java.lang.String> properties)
      • reportNulls

        protected boolean reportNulls()
      • label

        public java.util.Optional<java.lang.String> label​(java.lang.Object value)
        Specified by:
        label in interface SampleReportingFormat
        Parameters:
        value - the value to format
        Returns:
        an optional label prepended to a value's report
      • appliesTo

        public boolean appliesTo​(java.lang.Object value)
        Specified by:
        appliesTo in interface SampleReportingFormat
        Parameters:
        value - the value to format
        Returns:
        true if this format applies
      • report

        public final java.lang.Object report​(java.lang.Object value)
        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 interface SampleReportingFormat
        Parameters:
        value - the value to format
        Returns:
        the transformed value