@java.lang.FunctionalInterface interface GrailsBanner.VersionsFormatter
Strategy interface for formatting version information into printable lines.
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract java.util.List<java.lang.String> |
format(java.util.Map<java.lang.String, java.lang.String> versions, int bannerWidth)Formats the version information into a list of banner lines. |
Formats the version information into a list of banner lines.
versions - An insertion-ordered map (e.g., LinkedHashMap)
mapping human-readable labels to version values.
The iteration order defines the order of the
formatted output.bannerWidth - Total banner width in characters