Class StepFormatter.AnnotationBasedFormatter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String format​(java.lang.Object argumentToFormat, java.lang.String... formatterArguments)
      Format a single argument by taking optional formatter arguments into account.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnnotationBasedFormatter

        public AnnotationBasedFormatter​(AnnotationArgumentFormatter formatter,
                                        java.lang.annotation.Annotation annotation)
    • Method Detail

      • format

        public java.lang.String format​(java.lang.Object argumentToFormat,
                                       java.lang.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