Class WebRequestOptions

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

public class WebRequestOptions extends Object implements Serializable, com.dynatrace.tools.android.api.WebRequestOptions
DSL object for configuring the web request monitoring feature.
See Also:
  • Constructor Details

    • WebRequestOptions

      public WebRequestOptions(org.gradle.internal.reflect.Instantiator instantiator)
  • Method Details

    • enabled

      public void enabled(boolean enabled)
      Specifies if the web request monitoring feature is enabled

      The default value is true.

      Parameters:
      enabled - true, if the web request monitoring feature is enabled
    • sensors

      public void sensors(Action<? super WebRequestSensors> action)
      Specifies sensor options

      For more information about the properties you can configure in this block, see WebRequestSensors.

      Parameters:
      action - action object to specific the WebRequestSensors
    • isEnabled

      public boolean isEnabled()
      Specifies if the web request monitoring feature is enabled

      The default value is true.

      Specified by:
      isEnabled in interface com.dynatrace.tools.android.api.WebRequestOptions
      Returns:
      true, if the web request monitoring feature is enabled
    • getSensors

      public WebRequestSensors getSensors()
      Specifies sensor options

      For more information about the properties you can configure in this block, see WebRequestSensors.

      Specified by:
      getSensors in interface com.dynatrace.tools.android.api.WebRequestOptions
      Returns:
      sensor options
    • 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