adamdebreceni commented on a change in pull request #1168:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1168#discussion_r739256275
##########
File path: libminifi/include/utils/ProcessorConfigUtils.h
##########
@@ -38,6 +38,19 @@ std::chrono::milliseconds
parseTimePropertyMSOrThrow(core::ProcessContext* conte
std::optional<uint64_t> getOptionalUintProperty(const core::ProcessContext&
context, const std::string& property_name);
std::string parsePropertyWithAllowableValuesOrThrow(const
core::ProcessContext& context, const std::string& property_name, const
std::set<std::string>& allowable_values);
+template<typename T>
+T parseEnumProperty(const core::ProcessContext& context, const core::Property&
prop) {
Review comment:
added tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]