Class AgentBehaviorOptions

java.lang.Object
com.dynatrace.tools.android.dsl.AgentBehaviorOptions
All Implemented Interfaces:
com.dynatrace.tools.android.api.AgentBehaviorOptions, Serializable

public class AgentBehaviorOptions extends Object implements Serializable, com.dynatrace.tools.android.api.AgentBehaviorOptions
DSL object for configuration properties that allows fine-tuning the agent behavior.
Since:
8.203
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object other)
    int
    boolean
    Specifies if advanced load balancing should be used during the agent startup.
    boolean
    Specifies if Real User Monitoring powered by Grail is enabled or disabled for the first app start before the configured setting is received from the cluster.
    void
    startupLoadBalancing(boolean startupLoadBalancing)
    Specifies if advanced load balancing should be used during the agent startup.
    void
    startupWithGrailEnabled(boolean startupWithGrailEnabled)
    Specifies if Real User Monitoring powered by Grail is enabled or disabled for the first app start before the configured setting is received from the cluster.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AgentBehaviorOptions

      public AgentBehaviorOptions()
  • Method Details

    • startupLoadBalancing

      public void startupLoadBalancing(boolean startupLoadBalancing)
      Specifies if advanced load balancing should be used during the agent startup.

      The default value is false.

      Parameters:
      startupLoadBalancing - true, if startup load balancing is on
      Since:
      8.203
    • startupWithGrailEnabled

      public void startupWithGrailEnabled(boolean startupWithGrailEnabled)
      Specifies if Real User Monitoring powered by Grail is enabled or disabled for the first app start before the configured setting is received from the cluster.

      The default value is false.

      Note: This feature is currently only supported for Real User Monitoring powered by Grail on Dynatrace SaaS deployments.

      Parameters:
      startupWithGrailEnabled - true, if Grail capturing is enabled
      Since:
      8.311
    • isStartupLoadBalancing

      public boolean isStartupLoadBalancing()
      Specifies if advanced load balancing should be used during the agent startup.

      The default value is false.

      Specified by:
      isStartupLoadBalancing in interface com.dynatrace.tools.android.api.AgentBehaviorOptions
      Returns:
      true, if startup load balancing is on
      Since:
      8.203
    • isStartupWithGrailEnabled

      public boolean isStartupWithGrailEnabled()
      Specifies if Real User Monitoring powered by Grail is enabled or disabled for the first app start before the configured setting is received from the cluster.

      The default value is false.

      Note: This feature is currently only supported for Real User Monitoring powered by Grail on Dynatrace SaaS deployments.

      Specified by:
      isStartupWithGrailEnabled in interface com.dynatrace.tools.android.api.AgentBehaviorOptions
      Returns:
      true, if Real User Monitoring powered by Grail is enabled
      Since:
      8.311
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object