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

Method CoreComponent

libminifi/include/core/Core.h:150–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 */
149
150 explicit CoreComponent(const std::string &name, const utils::Identifier& uuid = {}, const std::shared_ptr<utils::IdGenerator>& idGenerator = utils::IdGenerator::getIdGenerator())
151 : name_(name) {
152 if (uuid.isNil()) {
153 // Generate the global UUID for the flow record
154 uuid_ = idGenerator->generate();
155 } else {
156 uuid_ = uuid;
157 }
158 }
159
160 explicit CoreComponent(const CoreComponent &other) = default;
161 /**

Callers

nothing calls this directly

Calls 2

isNilMethod · 0.80
generateMethod · 0.45

Tested by

no test coverage detected