Github user phrocker commented on a diff in the pull request:

    https://github.com/apache/nifi-minifi-cpp/pull/432#discussion_r231865428
  
    --- Diff: nanofi/include/cxx/Plan.h ---
    @@ -133,8 +133,29 @@ class ExecutionPlan {
         next_ff_ = ptr;
       }
     
    +  bool hasProcessor() {
    +    return !processor_queue_.empty();
    +  }
    +
       static std::shared_ptr<core::Processor> createProcessor(const 
std::string &processor_name, const std::string &name);
     
    +  static std::shared_ptr<ExecutionPlan> getPlan(const std::string& uuid) {
    +    auto it = proc_plan_map_.find(uuid);
    +    return it != proc_plan_map_.end() ? it->second : nullptr;
    +  }
    +
    +  static void addProcWithPlan(const std::string& uuid, 
std::shared_ptr<ExecutionPlan> plan) {
    --- End diff --
    
    addProcessorWithPlan


---

Reply via email to