public static class StepFormatter.AnnotationBasedFormatter extends java.lang.Object implements ArgumentFormatter
| Constructor and Description |
|---|
AnnotationBasedFormatter(AnnotationArgumentFormatter formatter,
java.lang.annotation.Annotation annotation) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(java.lang.Object argumentToFormat,
java.lang.String... formatterArguments)
Format a single argument by taking optional formatter arguments into account.
|
public AnnotationBasedFormatter(AnnotationArgumentFormatter formatter, java.lang.annotation.Annotation annotation)
public java.lang.String format(java.lang.Object argumentToFormat,
java.lang.String... formatterArguments)
ArgumentFormatterformat in interface ArgumentFormatterargumentToFormat - the object to formatformatterArguments - optional arguments for the formatter to control the formatting.