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

Method configure

extensions/script/python/PythonCreator.h:53–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 virtual ~PythonCreator();
52
53 void configure(const std::vector<std::string> &pythonFiles) {
54 std::vector<std::string> pathOrFiles;
55 for (const auto &path : pythonFiles) {
56 const auto vec = utils::StringUtils::split(path, ",");
57 pathOrFiles.insert(pathOrFiles.end(), vec.begin(), vec.end());
58 }
59
60 for (const auto &path : pathOrFiles) {
61 utils::file::FileUtils::addFilesMatchingExtension(logger_, path, ".py", classpaths_);
62 }
63
64 }
65
66 virtual void configure(const std::shared_ptr<Configure> &configuration) override {
67

Callers

nothing calls this directly

Calls 15

addClassNameMethod · 0.80
instantiateMethod · 0.80
getPythonPropertiesMethod · 0.80
log_warnMethod · 0.80
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45
getMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected