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

Method GetAppEnvironment

lib/base/application-environment.cpp:11–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9AtomicOrLocked<String> Application::m_EnvironmentId;
10
11String Application::GetAppEnvironment()
12{
13 Value defaultValue = Empty;
14 return ScriptGlobal::Get("Environment", &defaultValue);
15}
16
17void Application::SetAppEnvironment(const String& name)
18{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected