MCPcopy Create free account
hub / github.com/Icinga/icinga2 / PreActivate

Method PreActivate

lib/base/configobject.cpp:361–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359}
360
361void ConfigObject::PreActivate()
362{
363 CONTEXT("Setting 'active' to true for object '" << GetName() << "' of type '" << GetReflectionType()->GetName() << "'");
364
365 ASSERT(!IsActive());
366 SetActive(true, true);
367}
368
369void ConfigObject::Activate(bool runtimeCreated, const Value& cookie)
370{

Callers 1

ActivateItemsMethod · 0.80

Calls 1

GetNameMethod · 0.45

Tested by

no test coverage detected