MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / createControllerService

Method createControllerService

libminifi/src/core/FlowConfiguration.cpp:130–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130std::shared_ptr<core::controller::ControllerServiceNode> FlowConfiguration::createControllerService(const std::string &class_name, const std::string &full_class_name, const std::string &name,
131 const utils::Identifier& uuid) {
132 std::shared_ptr<core::controller::ControllerServiceNode> controllerServicesNode = service_provider_->createControllerService(class_name, full_class_name, name, true);
133 if (nullptr != controllerServicesNode)
134 controllerServicesNode->setUUID(uuid);
135 return controllerServicesNode;
136}
137
138} /* namespace core */
139} /* namespace minifi */

Callers 1

addControllerMethod · 0.45

Calls 1

setUUIDMethod · 0.45

Tested by 1

addControllerMethod · 0.36