Package com.dynatrace.android.agent.conf
Class DynatraceConfigurationBuilder
- java.lang.Object
-
- com.dynatrace.android.agent.conf.ConfigurationBuilder
-
- com.dynatrace.android.agent.conf.DynatraceConfigurationBuilder
-
public class DynatraceConfigurationBuilder extends ConfigurationBuilder
This class properly generates and initializes the agentConfiguration
for Dynatrace SaaS/Managed usage.Example:
new DynatraceConfigurationBuilder("myApplicationUUID", "https://example.bf.dynatrace.com/mbeacon") .withHybridMonitoring(true) .withMonitoredDomains("https://www.foo.com", "https://www.bla.com") .buildConfiguration();
-
-
Constructor Summary
Constructors Constructor Description DynatraceConfigurationBuilder(String applicationId, String beaconUrl)
Creates a newConfigurationBuilder
by passing the mandatory Dynatrace configuration parameters.
-
Method Summary
-
Methods inherited from class com.dynatrace.android.agent.conf.ConfigurationBuilder
buildConfiguration, withActivityMonitoring, withAutoUserActionModifier, withCertificateValidation, withCommunicationProblemListener, withCrashReporting, withDebugLogging, withHybridMonitoring, withKeyManagers, withKeyStore, withMonitoredDomains, withMonitoredHttpsDomains, withStartupLoadBalancing, withUserOptIn
-
-
-
-
Constructor Detail
-
DynatraceConfigurationBuilder
public DynatraceConfigurationBuilder(String applicationId, String beaconUrl)
Creates a newConfigurationBuilder
by passing the mandatory Dynatrace configuration parameters.The parameter values can be found in the Instrumentation wizard of your mobile application in Dynatrace
- Parameters:
applicationId
- the application idbeaconUrl
- the beacon url as provided by the wizard
-
-