void ExtractText::initialize() { //! Set the supported properties std::set<core::Property> properties; properties.insert(Attribute); setSupportedProperties(properties); //! Set the supported relationships std::set<core::Relationship> relationships; relationships.insert(Success); setSupportedRelationships(relationships); }
void ApplyTemplate::initialize() { //! Set the supported properties std::set<core::Property> properties; properties.insert(Template); setSupportedProperties(properties); //! Set the supported relationships std::set<core::Relationship> relationships; relationships.insert(Success); setSupportedRelationships(relationships); }
void PutSQL::initialize() { std::set<core::Property> properties; properties.insert(ConnectionURL); properties.insert(BatchSize); properties.insert(SQLStatement); setSupportedProperties(std::move(properties)); std::set<core::Relationship> relationships; relationships.insert(Success); relationships.insert(Retry); relationships.insert(Failure); setSupportedRelationships(std::move(relationships)); }
void LogAttribute::initialize() { // Set the supported properties std::set<core::Property> properties; properties.insert(LogLevel); properties.insert(AttributesToLog); properties.insert(AttributesToIgnore); properties.insert(LogPayload); properties.insert(LogPrefix); setSupportedProperties(properties); // Set the supported relationships std::set<core::Relationship> relationships; relationships.insert(Success); setSupportedRelationships(relationships); }
void ExecuteJavaControllerService::initialize() { logger_->log_info("Initializing ExecuteJavaControllerService"); // Set the supported properties std::string existingValue; getProperty(NiFiControllerService.getName(), existingValue); std::set<core::Property> properties; properties.insert(NiFiControllerService); setSupportedProperties(properties); setAcceptAllProperties(); if (!existingValue.empty()) { setProperty(NiFiControllerService, existingValue); } }