Package com.dynatrace.openkit
Enum DataCollectionLevel
- java.lang.Object
-
- java.lang.Enum<DataCollectionLevel>
-
- com.dynatrace.openkit.DataCollectionLevel
-
- All Implemented Interfaces:
SerializableBeaconValue,java.io.Serializable,java.lang.Comparable<DataCollectionLevel>
public enum DataCollectionLevel extends java.lang.Enum<DataCollectionLevel> implements SerializableBeaconValue
Specifies the granularity of which/how much data is collected/sent.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OFFNo data will be collected at allPERFORMANCEOnly performance related data will be collectedUSER_BEHAVIORAll available RUM (real user monitoring) data, including performance related data, is collected.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringasBeaconValue()Returns the value of this instance in the form how it will be written to the beaconstatic DataCollectionLeveldefaultValue()intgetIntValue()static DataCollectionLevelvalueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
OFF
public static final DataCollectionLevel OFF
No data will be collected at all
-
PERFORMANCE
public static final DataCollectionLevel PERFORMANCE
Only performance related data will be collected
-
USER_BEHAVIOR
public static final DataCollectionLevel USER_BEHAVIOR
All available RUM (real user monitoring) data, including performance related data, is collected.
-
-
Method Detail
-
values
public static DataCollectionLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DataCollectionLevel c : DataCollectionLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataCollectionLevel valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getIntValue
public int getIntValue()
-
asBeaconValue
public java.lang.String asBeaconValue()
Description copied from interface:SerializableBeaconValueReturns the value of this instance in the form how it will be written to the beacon- Specified by:
asBeaconValuein interfaceSerializableBeaconValue
-
defaultValue
public static DataCollectionLevel defaultValue()
-
-