Package org.camunda.bpm.engine.rest.util
Class WebApplicationUtil
- java.lang.Object
-
- org.camunda.bpm.engine.rest.util.WebApplicationUtil
-
public class WebApplicationUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description WebApplicationUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static TelemetryRegistry
getTelemetryRegistry(ProcessEngineProvider processEngineProvider, java.lang.String engineName)
static void
setApplicationServer(java.lang.String serverInfo)
static void
setLicenseKey(LicenseKeyData licenseKeyData)
static boolean
setWebapp(java.lang.String engineName, java.lang.String webapp)
Adds the web application name to the telemetry data of the engine.
-
-
-
Method Detail
-
setApplicationServer
public static void setApplicationServer(java.lang.String serverInfo)
-
setLicenseKey
public static void setLicenseKey(LicenseKeyData licenseKeyData)
-
setWebapp
public static boolean setWebapp(java.lang.String engineName, java.lang.String webapp)
Adds the web application name to the telemetry data of the engine.- Parameters:
engineName
- the engine for which the web application usage should be indicatedwebapp
- the web application that is used with the engine- Returns:
- whether the web application was successfully added or not
-
getTelemetryRegistry
protected static TelemetryRegistry getTelemetryRegistry(ProcessEngineProvider processEngineProvider, java.lang.String engineName)
-
-