public class LaunchImpl extends Launch
| Modifier and Type | Class and Description |
|---|---|
protected static class |
LaunchImpl.ComputationConcurrentHashMap |
protected static class |
LaunchImpl.TreeItem
Wrapper around TestItem entity to be able to track parent and children items
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CUSTOM_AGENT |
protected io.reactivex.Maybe<java.lang.String> |
launch |
static java.lang.String |
NOT_ISSUE
Deprecated.
use
Launch.NOT_ISSUE |
protected LaunchImpl.ComputationConcurrentHashMap |
QUEUE
Messages queue to track items execution order
|
client, NOOP_LAUNCH| Modifier | Constructor and Description |
|---|---|
protected |
LaunchImpl(ReportPortalClient reportPortalClient,
ListenerParameters parameters,
io.reactivex.Maybe<java.lang.String> launchMaybe,
java.util.concurrent.ExecutorService executorService) |
protected |
LaunchImpl(ReportPortalClient reportPortalClient,
ListenerParameters parameters,
com.epam.ta.reportportal.ws.model.launch.StartLaunchRQ rq,
java.util.concurrent.ExecutorService executorService) |
| Modifier and Type | Method and Description |
|---|---|
protected io.reactivex.Scheduler |
createScheduler(java.util.concurrent.ExecutorService executorService) |
void |
finish(com.epam.ta.reportportal.ws.model.FinishExecutionRQ request)
Finishes launch in ReportPortal.
|
io.reactivex.Maybe<com.epam.ta.reportportal.ws.model.OperationCompletionRS> |
finishTestItem(io.reactivex.Maybe<java.lang.String> item,
com.epam.ta.reportportal.ws.model.FinishTestItemRQ request)
Finishes Test Item in ReportPortal.
|
java.util.concurrent.ExecutorService |
getExecutor()
Returns a current executor which is used to process launch events such as requests and responses.
|
io.reactivex.Maybe<java.lang.String> |
getLaunch()
Returns current launch UUID
Maybe, empty if the launch is not started. |
io.reactivex.Scheduler |
getScheduler()
Returns a current
Scheduler which is used to process launch events such as requests and responses. |
io.reactivex.Maybe<java.lang.String> |
start()
Starts launch in ReportPortal.
|
io.reactivex.Maybe<java.lang.String> |
startTestItem(io.reactivex.Maybe<java.lang.String> parentId,
io.reactivex.Maybe<java.lang.String> retryOf,
com.epam.ta.reportportal.ws.model.StartTestItemRQ rq)
Starts new test item in ReportPortal in respect of provided retry item ID.
|
io.reactivex.Maybe<java.lang.String> |
startTestItem(io.reactivex.Maybe<java.lang.String> parentId,
com.epam.ta.reportportal.ws.model.StartTestItemRQ request)
Starts new test item in ReportPortal asynchronously (non-blocking)
|
io.reactivex.Maybe<java.lang.String> |
startTestItem(com.epam.ta.reportportal.ws.model.StartTestItemRQ request)
Starts new test item in ReportPortal asynchronously (non-blocking)
|
currentLaunch, getClient, getParameters, getStepReporter@Deprecated public static final java.lang.String NOT_ISSUE
Launch.NOT_ISSUEpublic static final java.lang.String CUSTOM_AGENT
protected final LaunchImpl.ComputationConcurrentHashMap QUEUE
protected final io.reactivex.Maybe<java.lang.String> launch
protected LaunchImpl(@Nonnull
ReportPortalClient reportPortalClient,
@Nonnull
ListenerParameters parameters,
@Nonnull
com.epam.ta.reportportal.ws.model.launch.StartLaunchRQ rq,
@Nonnull
java.util.concurrent.ExecutorService executorService)
protected LaunchImpl(@Nonnull
ReportPortalClient reportPortalClient,
@Nonnull
ListenerParameters parameters,
@Nonnull
io.reactivex.Maybe<java.lang.String> launchMaybe,
@Nonnull
java.util.concurrent.ExecutorService executorService)
protected io.reactivex.Scheduler createScheduler(java.util.concurrent.ExecutorService executorService)
public java.util.concurrent.ExecutorService getExecutor()
ExecutorServicepublic io.reactivex.Scheduler getScheduler()
Scheduler which is used to process launch events such as requests and responses.Scheduler@Nonnull public io.reactivex.Maybe<java.lang.String> getLaunch()
LaunchMaybe, empty if the launch is not started.@Nonnull public io.reactivex.Maybe<java.lang.String> start()
public void finish(com.epam.ta.reportportal.ws.model.FinishExecutionRQ request)
@Nonnull public io.reactivex.Maybe<java.lang.String> startTestItem(com.epam.ta.reportportal.ws.model.StartTestItemRQ request)
startTestItem in class Launchrequest - Start RQ@Nonnull
public io.reactivex.Maybe<java.lang.String> startTestItem(io.reactivex.Maybe<java.lang.String> parentId,
io.reactivex.Maybe<java.lang.String> retryOf,
com.epam.ta.reportportal.ws.model.StartTestItemRQ rq)
startTestItem in class LaunchparentId - Parent item ID promiseretryOf - previous item ID promiserq - Start RQ@Nonnull
public io.reactivex.Maybe<java.lang.String> startTestItem(io.reactivex.Maybe<java.lang.String> parentId,
com.epam.ta.reportportal.ws.model.StartTestItemRQ request)
startTestItem in class LaunchparentId - Parent item ID promiserequest - Start RQ@Nonnull
public io.reactivex.Maybe<com.epam.ta.reportportal.ws.model.OperationCompletionRS> finishTestItem(io.reactivex.Maybe<java.lang.String> item,
com.epam.ta.reportportal.ws.model.FinishTestItemRQ request)
finishTestItem in class Launchitem - Item UUID promiserequest - Finish request