Adds sanity check to the rule id action

This commit is contained in:
Felipe Zimmerle
2015-09-02 19:19:19 -03:00
parent 6ab88472b1
commit 45d81e1c04
5 changed files with 313 additions and 12 deletions

View File

@@ -87,6 +87,7 @@ class Action {
virtual std::string evaluate(std::string exp,
Assay *assay);
virtual bool evaluate(Rule *rule, Assay *assay);
virtual bool init(std::string *error) { return true; }
static Action *instantiate(const std::string& name);