Package com.dynatrace.openkit.protocol
Enum EventType
- java.lang.Object
-
- java.lang.Enum<EventType>
-
- com.dynatrace.openkit.protocol.EventType
-
- All Implemented Interfaces:
SerializableBeaconValue,java.io.Serializable,java.lang.Comparable<EventType>
public enum EventType extends java.lang.Enum<EventType> implements SerializableBeaconValue
Event types used in the beacon protocol.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIONAction eventCRASHReport crash eventERRORReport error code eventEVENTEvent APIEXCEPTIONReport exception eventIDENTIFY_USERIdentify user eventNAMED_EVENTNamed eventSESSION_ENDSession end eventSESSION_STARTSession start eventVALUE_DOUBLEReport double value eventVALUE_INTReport integer value eventVALUE_STRINGReport string value eventWEB_REQUESTTagged web request event
-
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 beaconintprotocolValue()static EventTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTION
public static final EventType ACTION
Action event
-
VALUE_STRING
public static final EventType VALUE_STRING
Report string value event
-
VALUE_INT
public static final EventType VALUE_INT
Report integer value event
-
VALUE_DOUBLE
public static final EventType VALUE_DOUBLE
Report double value event
-
NAMED_EVENT
public static final EventType NAMED_EVENT
Named event
-
SESSION_START
public static final EventType SESSION_START
Session start event
-
SESSION_END
public static final EventType SESSION_END
Session end event
-
WEB_REQUEST
public static final EventType WEB_REQUEST
Tagged web request event
-
ERROR
public static final EventType ERROR
Report error code event
-
EXCEPTION
public static final EventType EXCEPTION
Report exception event
-
CRASH
public static final EventType CRASH
Report crash event
-
IDENTIFY_USER
public static final EventType IDENTIFY_USER
Identify user event
-
EVENT
public static final EventType EVENT
Event API
-
-
Method Detail
-
values
public static EventType[] 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 (EventType c : EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventType 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
-
protocolValue
public int protocolValue()
-
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
-
-