Class ViewComponentBuilder
java.lang.Object
org.springframework.shell.component.ViewComponentBuilder
Builder that can be used to configure and create a
ViewComponent.-
Constructor Summary
ConstructorsConstructorDescriptionViewComponentBuilder(TerminalUIBuilder terminalUIBuilder, ViewComponentExecutor viewComponentExecutor, org.jline.terminal.Terminal terminal) -
Method Summary
Modifier and TypeMethodDescriptionBuild a newViewComponentinstance and configure it using this builder.
-
Constructor Details
-
ViewComponentBuilder
public ViewComponentBuilder(TerminalUIBuilder terminalUIBuilder, ViewComponentExecutor viewComponentExecutor, org.jline.terminal.Terminal terminal)
-
-
Method Details
-
build
Build a newViewComponentinstance and configure it using this builder.- Parameters:
view- the view to use with view component- Returns:
- a configured
ViewComponentinstance.
-