Class DataFlowTables
java.lang.Object
org.springframework.cloud.dataflow.shell.command.DataFlowTables
Utility class to customize DataFlowTables used in a consistent way.
- Author:
- Eric Bottard
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A formatter that collects bean property names and turns them into capitalized, separated words. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TableBuilder
applyStyle
(TableBuilder builder) Customize the given TableBuilder with the following common features (these choices can always be overridden by applying later customizations) : double border around the whole table and first row vertical space (air) borders, single line separators between rows first row is assumed to be a header and is centered horizontally and vertically cells containing Map values are rendered as key = value lines, trying to align on equal signs
-
Constructor Details
-
DataFlowTables
public DataFlowTables()
-
-
Method Details
-
applyStyle
Customize the given TableBuilder with the following common features (these choices can always be overridden by applying later customizations) :- double border around the whole table and first row
- vertical space (air) borders, single line separators between rows
- first row is assumed to be a header and is centered horizontally and vertically
- cells containing Map values are rendered as key = value lines, trying to align on equal signs
- Parameters:
builder
- the table builder to use- Returns:
- the configured table builder
-