control: Extend actions from the config base object
Make actions also be base config objects to allow profiles to be defined
on an action. This also provides the parsing of variable values from the
JSON of a configured action.
Included in this commit is an action parsing error exception class that
actions will use when a required attribute fails to be parsed from the
JSON for the given action.
Change-Id: I0fb040afb09d17830e7bb1a587de1b501b638eae
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/control/json/actions/missing_owner_target.hpp b/control/json/actions/missing_owner_target.hpp
index 35fb5a9..0bf6c84 100644
--- a/control/json/actions/missing_owner_target.hpp
+++ b/control/json/actions/missing_owner_target.hpp
@@ -51,7 +51,7 @@
/**
* @brief Set target on an owner missing
*
- * @param[in] jsonObj - JSON containing the configured target to use
+ * @param[in] jsonObj - JSON configuration of this action
*/
explicit MissingOwnerTarget(const json& jsonObj);