| 105 | } |
| 106 | |
| 107 | void FlowFile::setStashClaim(const std::string& key, const std::shared_ptr<ResourceClaim>& claim) { |
| 108 | if (hasStashClaim(key)) { |
| 109 | logger_->log_warn("Stashing content of record %s to existing key %s; " |
| 110 | "existing content will be overwritten", |
| 111 | getUUIDStr(), key.c_str()); |
| 112 | } |
| 113 | |
| 114 | stashedContent_[key] = claim; |
| 115 | } |
| 116 | |
| 117 | void FlowFile::clearStashClaim(const std::string& key) { |
| 118 | auto claimIt = stashedContent_.find(key); |
no test coverage detected