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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HybridOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
domains(String domain)
Specifies instrumented domains used by the web part of your hybrid applicationvoid
domains(String... domains)
Specifies instrumented domains used by the web part of your hybrid applicationvoid
enabled(boolean enabled)
Specifies if the hybrid feature is enabledboolean
equals(Object other)
List<String>
getDomains()
Specifies instrumented domains used by the web part of your hybrid applicationList<String>
getHttpsDomains()
Specifies instrumented https domains used by the web part of your hybrid applicationvoid
httpsDomains(String httpsDomain)
Specifies instrumented https domains used by the web part of your hybrid applicationvoid
httpsDomains(String... httpsDomains)
Specifies instrumented https domains used by the web part of your hybrid applicationboolean
isEnabled()
Specifies if the hybrid feature is enabledString
toString()
-
-
-
Method Detail
-
enabled
public void enabled(boolean enabled)
Specifies if the hybrid feature is enabledThe default value is false.
- Parameters:
enabled
- true, if the hybrid feature is enabled
-
domains
public void domains(String domain)
Specifies instrumented domains used by the web part of your hybrid applicationFor 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 applicationFor 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 applicationFor 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 applicationFor 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 enabledThe default value is false.
- Specified by:
isEnabled
in interfacecom.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 applicationFor 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 interfacecom.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 applicationFor 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 interfacecom.dynatrace.tools.android.api.HybridOptions
- Returns:
- https domains that should be instrumented
- Since:
- 8.237
-
-