Class CommunityRestConfBuilder
java.lang.Object
io.lighty.modules.northbound.restconf.community.impl.CommunityRestConfBuilder
Builder for
CommunityRestConf.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build newCommunityRestConfinstance fromCommunityRestConfBuilder.static CommunityRestConfBuilderfrom(RestConfConfiguration configuration) Create new instance ofCommunityRestConfBuilderfromRestConfConfiguration.withLightyServer(LightyServerBuilder serverBuilder) Inject lighty server builder.withScheduledThreadPool(org.opendaylight.controller.config.threadpool.ScheduledThreadPool pool) Add ScheduledThreadPool.
-
Method Details
-
from
Create new instance ofCommunityRestConfBuilderfromRestConfConfiguration.- Parameters:
configuration- input RestConf configuration.- Returns:
- instance of
CommunityRestConfBuilder.
-
withLightyServer
Inject lighty server builder.- Parameters:
serverBuilder- input server builder.- Returns:
- instance of
CommunityRestConfBuilder.
-
withScheduledThreadPool
public CommunityRestConfBuilder withScheduledThreadPool(org.opendaylight.controller.config.threadpool.ScheduledThreadPool pool) Add ScheduledThreadPool.- Parameters:
pool- input scheduledThreadPool.- Returns:
- instance of
CommunityRestConfBuilder.
-
build
Build newCommunityRestConfinstance fromCommunityRestConfBuilder.- Returns:
- instance of CommunityRestConf.
-