Class StepFormatter.AnnotationBasedFormatter

java.lang.Object
com.tngtech.jgiven.report.model.StepFormatter.AnnotationBasedFormatter
All Implemented Interfaces:
ArgumentFormatter
Enclosing class:
StepFormatter

public static class StepFormatter.AnnotationBasedFormatter extends Object implements ArgumentFormatter
  • Constructor Details

  • Method Details

    • format

      public String format(Object argumentToFormat, String... formatterArguments)
      Description copied from interface: ArgumentFormatter
      Format a single argument by taking optional formatter arguments into account.
      Specified by:
      format in interface ArgumentFormatter
      Parameters:
      argumentToFormat - the object to format
      formatterArguments - optional arguments for the formatter to control the formatting.
      Returns:
      a formatted string