public class DynatraceOpenKitBuilder extends AbstractOpenKitBuilder
OpenKit instance for Dynatrace Saas/Managed| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_SERVER_ID
The default server ID to communicate with.
|
static java.lang.String |
OPENKIT_TYPE
A string, identifying the type of OpenKit this builder is made for.
|
| Constructor and Description |
|---|
DynatraceOpenKitBuilder(java.lang.String endpointURL,
java.lang.String applicationID,
long deviceID)
Creates a new instance of type DynatraceOpenKitBuilder
|
DynatraceOpenKitBuilder(java.lang.String endpointURL,
java.lang.String applicationID,
java.lang.String deviceID)
Deprecated.
use
DynatraceOpenKitBuilder(String, String, long) instead |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApplicationID()
Get the application id for which the OpenKit reports data.
|
java.lang.String |
getApplicationName()
Get the application name.
|
int |
getDefaultServerID()
Get the default server ID to communicate with.
|
java.lang.String |
getOpenKitType()
Get a string identifying the OpenKit type that gets created by this builder.
|
AbstractOpenKitBuilder |
withApplicationName(java.lang.String applicationName)
Deprecated.
with version 2.0.0 This value is set in Dynatrace when creating a Custom application.
|
build, deviceIdFromString, enableVerbose, getApplicationVersion, getBeaconCacheLowerMemoryBoundary, getBeaconCacheMaxRecordAge, getBeaconCacheUpperMemoryBoundary, getCrashReportLevel, getDataCollectionLevel, getDeviceID, getEndpointURL, getLogger, getManufacturer, getModelID, getOperatingSystem, getOrigDeviceID, getTrustManager, withApplicationVersion, withBeaconCacheLowerMemoryBoundary, withBeaconCacheMaxRecordAge, withBeaconCacheUpperMemoryBoundary, withCrashReportingLevel, withDataCollectionLevel, withLogger, withLogLevel, withManufacturer, withModelID, withOperatingSystem, withTrustManagerpublic static final int DEFAULT_SERVER_ID
public static final java.lang.String OPENKIT_TYPE
public DynatraceOpenKitBuilder(java.lang.String endpointURL,
java.lang.String applicationID,
long deviceID)
endpointURL - endpoint OpenKit connects toapplicationID - unique application iddeviceID - unique device id@Deprecated
public DynatraceOpenKitBuilder(java.lang.String endpointURL,
java.lang.String applicationID,
java.lang.String deviceID)
DynatraceOpenKitBuilder(String, String, long) instead
If the given deviceID does not correspond to a numeric value it will be hashed accordingly to a
64 bit number.
endpointURL - endpoint OpenKit connects toapplicationID - unique application iddeviceID - unique device id@Deprecated public AbstractOpenKitBuilder withApplicationName(java.lang.String applicationName)
applicationName - name of the applicationthispublic int getDefaultServerID()
AbstractOpenKitBuilder
Specific OpenKit builder implementors might return a different default
server ID by overriding this method.
getDefaultServerID in class AbstractOpenKitBuilderpublic java.lang.String getOpenKitType()
AbstractOpenKitBuilderThe only real purpose is for logging reasons.
getOpenKitType in class AbstractOpenKitBuilderpublic java.lang.String getApplicationID()
AbstractOpenKitBuildergetApplicationID in class AbstractOpenKitBuilderpublic java.lang.String getApplicationName()
AbstractOpenKitBuilder
It depends on the concrete builder whether the application name is configurable or not.
In any case the derived classes have to return a string that is neither null nor empty.
getApplicationName in class AbstractOpenKitBuilder