Package io.lighty.core.controller.impl
Class LightyControllerBuilder
java.lang.Object
io.lighty.core.controller.impl.LightyControllerBuilder
Builder for 
LightyController.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Build newLightyControllerinstance fromLightyControllerBuilder.from(ControllerConfiguration newControllerConfiguration) Create new instance ofLightyControllerBuilderfromControllerConfiguration.withExecutorService(ExecutorService newExecutorService) Inject executor service to execute futures.
- 
Constructor Details- 
LightyControllerBuilderpublic LightyControllerBuilder()
 
- 
- 
Method Details- 
fromCreate new instance ofLightyControllerBuilderfromControllerConfiguration.- Parameters:
- newControllerConfiguration- input Lighty Controller configuration.
- Returns:
- instance of LightyControllerBuilder.
 
- 
withExecutorServiceInject executor service to execute futures.- Parameters:
- newExecutorService- - executor
- Returns:
- instance of LightyControllerBuilder.
 
- 
buildBuild newLightyControllerinstance fromLightyControllerBuilder.- Returns:
- instance of LightyController.
- Throws:
- ConfigurationException- if cannot find yang model artifacts.
 
 
-