|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.appdynamics.eumagent.runtime.AgentConfiguration.Builder
public static class AgentConfiguration.Builder
A class for setting up instances of AgentConfiguration.
| Method Summary | |
|---|---|
AgentConfiguration |
build()
Generates the agent configuration based on the parameters passed through the other methods. |
AgentConfiguration.Builder |
withAppKey(java.lang.String appKey)
Sets the application key used by the SDK. |
AgentConfiguration.Builder |
withCollectorChannelFactory(CollectorChannelFactory collectorChannelFactory)
Sets the collector channel to use. |
AgentConfiguration.Builder |
withCollectorURL(java.lang.String collectorURL)
Sets the URL of the collector to which the agent will report. |
AgentConfiguration.Builder |
withCompileTimeInstrumentationCheck(boolean enabled)
Compile time instrumentation is required for supporting a number of features such as ANR, network calls reporting. |
AgentConfiguration.Builder |
withContext(android.content.Context context)
Sets the application key used by the SDK. |
AgentConfiguration.Builder |
withDynamicInfoPointURL(java.lang.String infoPointURL)
Set the URL of infopoint endpoint. |
AgentConfiguration.Builder |
withLoggingEnabled(boolean loggingEnabled)
Sets whether debug logs are enabled or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public AgentConfiguration.Builder withAppKey(java.lang.String appKey)
public AgentConfiguration.Builder withContext(android.content.Context context)
public AgentConfiguration.Builder withCollectorURL(java.lang.String collectorURL)
public AgentConfiguration.Builder withDynamicInfoPointURL(java.lang.String infoPointURL)
public AgentConfiguration.Builder withLoggingEnabled(boolean loggingEnabled)
public AgentConfiguration.Builder withCompileTimeInstrumentationCheck(boolean enabled)
enabled - if you want to disable this check, pass in false.
public AgentConfiguration.Builder withCollectorChannelFactory(CollectorChannelFactory collectorChannelFactory)
public AgentConfiguration build()
java.lang.NullPointerException - if a required parameter is null.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||