| 422 | } |
| 423 | |
| 424 | void ProvenanceReporter::modifyAttributes(std::shared_ptr<core::FlowFile> flow, std::string detail) { |
| 425 | auto event = allocate(ProvenanceEventRecord::ATTRIBUTES_MODIFIED, flow); |
| 426 | |
| 427 | if (event) { |
| 428 | event->setDetails(detail); |
| 429 | add(event); |
| 430 | } |
| 431 | } |
| 432 | |
| 433 | void ProvenanceReporter::modifyContent(std::shared_ptr<core::FlowFile> flow, std::string detail, uint64_t processingDuration) { |
| 434 | auto event = allocate(ProvenanceEventRecord::CONTENT_MODIFIED, flow); |
no test coverage detected