+ OnVarsChanged(this, GetVars(), origin);
+ }
+}
+
+Endpoint::Ptr Checkable::GetCommandEndpoint(void) const
+{
+ return Endpoint::GetByName(GetCommandEndpointRaw());
+}
+
+void Checkable::ValidateCheckInterval(const String& location, const Checkable::Ptr& object)
+{
+ if (object->GetCheckInterval() <= 0) {
+ BOOST_THROW_EXCEPTION(ScriptError("Validation failed for " +
+ location + ": check_interval must be greater than 0.", object->GetDebugInfo()));