Class StatisticsService
- java.lang.Object
-
- com.epam.reportportal.service.statistics.StatisticsService
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class StatisticsService extends java.lang.Object implements java.io.Closeable
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAGENT_NAME_PARAMstatic java.lang.StringAGENT_VERSION_PARAMstatic java.lang.StringCLIENT_NAME_PARAMstatic java.lang.StringCLIENT_VERSION_PARAMstatic java.lang.StringINTERPRETER_FORMATstatic java.lang.StringINTERPRETER_PARAMstatic java.lang.StringSTART_LAUNCH_EVENT_ACTION
-
Constructor Summary
Constructors Constructor Description StatisticsService(ListenerParameters listenerParameters)StatisticsService(ListenerParameters listenerParameters, Statistics client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected StatisticsgetStatistics()voidsendEvent(io.reactivex.Maybe<java.lang.String> launchIdMaybe, StartLaunchRQ rq)
-
-
-
Field Detail
-
START_LAUNCH_EVENT_ACTION
public static final java.lang.String START_LAUNCH_EVENT_ACTION
- See Also:
- Constant Field Values
-
CLIENT_NAME_PARAM
public static final java.lang.String CLIENT_NAME_PARAM
- See Also:
- Constant Field Values
-
CLIENT_VERSION_PARAM
public static final java.lang.String CLIENT_VERSION_PARAM
- See Also:
- Constant Field Values
-
INTERPRETER_PARAM
public static final java.lang.String INTERPRETER_PARAM
- See Also:
- Constant Field Values
-
INTERPRETER_FORMAT
public static final java.lang.String INTERPRETER_FORMAT
- See Also:
- Constant Field Values
-
AGENT_NAME_PARAM
public static final java.lang.String AGENT_NAME_PARAM
- See Also:
- Constant Field Values
-
AGENT_VERSION_PARAM
public static final java.lang.String AGENT_VERSION_PARAM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StatisticsService
public StatisticsService(ListenerParameters listenerParameters, Statistics client)
-
StatisticsService
public StatisticsService(ListenerParameters listenerParameters)
-
-
Method Detail
-
getStatistics
protected Statistics getStatistics()
-
sendEvent
public void sendEvent(io.reactivex.Maybe<java.lang.String> launchIdMaybe, StartLaunchRQ rq)
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
-