| 69 | } |
| 70 | |
| 71 | bool ScriptFlowFile::removeAttribute(std::string key) { |
| 72 | if (!flow_file_) { |
| 73 | throw std::runtime_error("Access of FlowFile after it has been released"); |
| 74 | } |
| 75 | |
| 76 | return flow_file_->removeAttribute(std::move(key)); |
| 77 | } |
| 78 | |
| 79 | std::shared_ptr<core::FlowFile> ScriptFlowFile::getFlowFile() { |
| 80 | return flow_file_; |
no outgoing calls
no test coverage detected