Class ViewComponentBuilder
java.lang.Object
org.springframework.shell.component.ViewComponentBuilder
Builder that can be used to configure and create a
ViewComponent
.-
Constructor Summary
ConstructorDescriptionViewComponentBuilder
(TerminalUIBuilder terminalUIBuilder, ViewComponentExecutor viewComponentExecutor, org.jline.terminal.Terminal terminal) -
Method Summary
Modifier and TypeMethodDescriptionBuild a newViewComponent
instance 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 newViewComponent
instance and configure it using this builder.- Parameters:
view
- the view to use with view component- Returns:
- a configured
ViewComponent
instance.
-