public class LaunchImpl extends Launch
| Modifier and Type | Class and Description |
|---|---|
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 com.google.common.cache.LoadingCache<io.reactivex.Maybe<java.lang.String>,LaunchImpl.TreeItem> |
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 rq)
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 rq)
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.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
|
io.reactivex.Maybe<java.lang.String> |
startTestItem(io.reactivex.Maybe<java.lang.String> parentId,
com.epam.ta.reportportal.ws.model.StartTestItemRQ rq)
Starts new test item in ReportPortal asynchronously (non-blocking)
|
io.reactivex.Maybe<java.lang.String> |
startTestItem(com.epam.ta.reportportal.ws.model.StartTestItemRQ rq)
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 com.google.common.cache.LoadingCache<io.reactivex.Maybe<java.lang.String>,LaunchImpl.TreeItem> 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.Schedulerpublic io.reactivex.Maybe<java.lang.String> start()
public void finish(com.epam.ta.reportportal.ws.model.FinishExecutionRQ rq)
public io.reactivex.Maybe<java.lang.String> startTestItem(com.epam.ta.reportportal.ws.model.StartTestItemRQ rq)
startTestItem in class Launchrq - Start RQpublic 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)
LaunchstartTestItem in class LaunchparentId - promise of ID of parentretryOf - promise of ID of retried elementrq - promise of ID of requestpublic io.reactivex.Maybe<java.lang.String> startTestItem(io.reactivex.Maybe<java.lang.String> parentId,
com.epam.ta.reportportal.ws.model.StartTestItemRQ rq)
startTestItem in class Launchrq - Start RQparentId - Parent IDpublic 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 rq)
finishTestItem in class Launchitem - Item UUID promiserq - Finish request