Class HybridOptions

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

public class HybridOptions extends Object implements Serializable, com.dynatrace.tools.android.api.HybridOptions
DSL object for configuring hybrid web view objects.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates new HybridOptions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    domains(String domain)
    Specifies instrumented domains used by the web part of your hybrid application
    void
    domains(String... domains)
    Specifies instrumented domains used by the web part of your hybrid application
    void
    enabled(boolean enabled)
    Specifies if the hybrid feature is enabled
    boolean
    equals(Object other)
    void
    fileDomainCookies(boolean fileDomainCookies)
    Enables/disables file scheme cookies and automatically adds the cookies to the file:// domain.
    Specifies instrumented domains used by the web part of your hybrid application
    Specifies instrumented https domains used by the web part of your hybrid application
    int
    void
    httpsDomains(String httpsDomain)
    Specifies instrumented https domains used by the web part of your hybrid application
    void
    httpsDomains(String... httpsDomains)
    Specifies instrumented https domains used by the web part of your hybrid application
    boolean
    Specifies if the hybrid feature is enabled
    boolean
    Enables/disables file scheme cookies and automatically adds the cookies to the file:// domain.

    Methods inherited from class java.lang.Object

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

    • HybridOptions

      public HybridOptions()
      Creates new HybridOptions.
  • Method Details

    • enabled

      public void enabled(boolean enabled)
      Specifies if the hybrid feature is enabled

      The default value is false.

      Parameters:
      enabled - true, if the hybrid feature is enabled
    • fileDomainCookies

      public void fileDomainCookies(boolean fileDomainCookies)
      Enables/disables file scheme cookies and automatically adds the cookies to the file:// domain.
      Parameters:
      fileDomainCookies - true, if file domain cookies should be enabled
      Since:
      8.271
    • domains

      public void domains(String domain)
      Specifies instrumented domains used by the web part of your hybrid application

      For hybrid applications using the JavaScript library, cookies need to be set for each instrumented domain or server the application communicates with. You can specify domains, host or IP addresses. Domains or sub-domains must start with a dot.

      Parameters:
      domain - a domain that should be instrumented
    • domains

      public void domains(String... domains)
      Specifies instrumented domains used by the web part of your hybrid application

      For hybrid applications using the JavaScript library, cookies need to be set for each instrumented domain or server the application communicates with. You can specify domains, host or IP addresses. Domains or sub-domains must start with a dot.

      Parameters:
      domains - domains that should be instrumented
    • httpsDomains

      public void httpsDomains(String httpsDomain)
      Specifies instrumented https domains used by the web part of your hybrid application

      For hybrid applications using the JavaScript library, cookies need to be set for each instrumented domain or server the application communicates with. You can specify domains, host or IP addresses. Https Domains always need to start with https://. Domains or sub-domains must start with a dot.

      Parameters:
      httpsDomain - a domain that should be instrumented
      Since:
      8.237
    • httpsDomains

      public void httpsDomains(String... httpsDomains)
      Specifies instrumented https domains used by the web part of your hybrid application

      For hybrid applications using the JavaScript library, cookies need to be set for each instrumented domain or server the application communicates with. You can specify domains, host or IP addresses. Https Domains always need to start with https://. Domains or sub-domains must start with a dot.

      Parameters:
      httpsDomains - domains that should be instrumented
      Since:
      8.237
    • isEnabled

      public boolean isEnabled()
      Specifies if the hybrid feature is enabled

      The default value is false.

      Specified by:
      isEnabled in interface com.dynatrace.tools.android.api.HybridOptions
      Returns:
      true, if the hybrid feature is enabled
    • getDomains

      public List<String> getDomains()
      Specifies instrumented domains used by the web part of your hybrid application

      For hybrid applications using the JavaScript library, cookies need to be set for each instrumented domain or server the application communicates with. You can specify domains, host or IP addresses. Domains or sub-domains must start with a dot.

      Specified by:
      getDomains in interface com.dynatrace.tools.android.api.HybridOptions
      Returns:
      domains that should be instrumented
    • getHttpsDomains

      public List<String> getHttpsDomains()
      Specifies instrumented https domains used by the web part of your hybrid application

      For hybrid applications using the JavaScript library, cookies need to be set for each instrumented domain or server the application communicates with. You can specify domains, host or IP addresses. Https Domains always need to start with https://. Domains or sub-domains must start with a dot.

      Specified by:
      getHttpsDomains in interface com.dynatrace.tools.android.api.HybridOptions
      Returns:
      https domains that should be instrumented
      Since:
      8.237
    • isFileDomainCookies

      public boolean isFileDomainCookies()
      Enables/disables file scheme cookies and automatically adds the cookies to the file:// domain.
      Specified by:
      isFileDomainCookies in interface com.dynatrace.tools.android.api.HybridOptions
      Returns:
      true, if file domain cookies should be enabled
      Since:
      8.271
    • 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