29 #ifndef __PLUGINS_FIREWALL_RULE_H__ 30 #define __PLUGINS_FIREWALL_RULE_H__ 68 explicit Rule(
const std::string& name,
69 const std::vector<std::string>& commands,
void applyCommands() const override
A helper class to execute shell commands securely. This class is a high level interface added to ease...
Definition: IExecutor.h:51
Rule & operator=(const Rule &)=delete
Represents a single firewall rule.
Definition: IRule.h:57
std::unique_ptr< Internal > m_internal
Definition: Rule.h:96
Represents a single firewall rule.
Definition: Rule.h:57
Rule(const std::string &name, const std::vector< std::string > &commands, const utils::command::IExecutor &executor)