public enum DataCollectionLevel extends Enum<DataCollectionLevel>
| Enum Constant and Description |
|---|
OFF
the agent does not capture data.
|
PERFORMANCE
the agent only captures anonymous performance data.
|
USER_BEHAVIOR
the agent captures performance and user data.
|
| Modifier and Type | Method and Description |
|---|---|
static DataCollectionLevel |
castJavaScriptValue(int value)
Parses the JavaScript
int value to the proper DataCollectionLevel value. |
int |
getJavaScriptValue()
Returns the
int representation that is used in the JavaScript part of the app |
static DataCollectionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataCollectionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataCollectionLevel OFF
public static final DataCollectionLevel PERFORMANCE
Dynatrace.identifyUser(String) or custom value reporting.public static final DataCollectionLevel USER_BEHAVIOR
Dynatrace.identifyUser(String)
and it uses the same visitor id for every visit.public static DataCollectionLevel[] values()
for (DataCollectionLevel c : DataCollectionLevel.values()) System.out.println(c);
public static DataCollectionLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static DataCollectionLevel castJavaScriptValue(int value)
int value to the proper DataCollectionLevel value.
Be aware, that invalid values are converted to USER_BEHAVIORvalue - int representation of a DataCollectionLevel valueDataCollectionLevel value or USER_BEHAVIOR, when the value is invalidpublic int getJavaScriptValue()
int representation that is used in the JavaScript part of the appint representation that is used in the JavaScript part of the app© 2021 Dynatrace LLC. All Rights Reserved