public abstract class Launch
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected ReportPortalClient |
client |
static Launch |
NOOP_LAUNCH
Implementation for disabled Reporting
|
static com.epam.ta.reportportal.ws.model.issue.Issue |
NOT_ISSUE
An Issue to remove 'To Investigate' mark from a skipped/failed Test Item
|
| Modifier and Type | Method and Description |
|---|---|
static Launch |
currentLaunch()
Returns a current launch in a link to the current thread.
|
abstract void |
finish(com.epam.ta.reportportal.ws.model.FinishExecutionRQ rq)
Finishes launch in ReportPortal.
|
abstract io.reactivex.Maybe<com.epam.ta.reportportal.ws.model.OperationCompletionRS> |
finishTestItem(io.reactivex.Maybe<java.lang.String> itemId,
com.epam.ta.reportportal.ws.model.FinishTestItemRQ rq)
Finishes Test Item in ReportPortal.
|
ReportPortalClient |
getClient()
Returns ReportPortal client for the launch.
|
abstract io.reactivex.Maybe<java.lang.String> |
getLaunch()
Returns current launch UUID
Maybe, empty if the launch is not started. |
ListenerParameters |
getParameters() |
StepReporter |
getStepReporter()
Returns Nested Step reporter for the current launch.
|
abstract io.reactivex.Maybe<java.lang.String> |
start() |
abstract 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.
|
abstract 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)
|
abstract io.reactivex.Maybe<java.lang.String> |
startTestItem(com.epam.ta.reportportal.ws.model.StartTestItemRQ rq)
Starts new test item in ReportPortal asynchronously (non-blocking)
|
protected final ReportPortalClient client
public static final Launch NOOP_LAUNCH
public static final com.epam.ta.reportportal.ws.model.issue.Issue NOT_ISSUE
@Nonnull public abstract io.reactivex.Maybe<java.lang.String> start()
public abstract void finish(com.epam.ta.reportportal.ws.model.FinishExecutionRQ rq)
rq - Finish RQ@Nonnull public abstract io.reactivex.Maybe<java.lang.String> startTestItem(com.epam.ta.reportportal.ws.model.StartTestItemRQ rq)
rq - Start RQ@Nonnull
public abstract io.reactivex.Maybe<java.lang.String> startTestItem(io.reactivex.Maybe<java.lang.String> parentId,
com.epam.ta.reportportal.ws.model.StartTestItemRQ rq)
rq - Start RQparentId - Parent ID@Nonnull
public abstract 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)
parentId - promise of ID of parentretryOf - previous item ID promiserq - promise of ID of request@Nonnull
public abstract io.reactivex.Maybe<com.epam.ta.reportportal.ws.model.OperationCompletionRS> finishTestItem(io.reactivex.Maybe<java.lang.String> itemId,
com.epam.ta.reportportal.ws.model.FinishTestItemRQ rq)
itemId - Item ID promiserq - Finish request@Nonnull public ListenerParameters getParameters()
@Nullable public static Launch currentLaunch()
@Nonnull public StepReporter getStepReporter()
StepReporter instance@Nonnull public ReportPortalClient getClient()
ReportPortalClient instance@Nonnull public abstract io.reactivex.Maybe<java.lang.String> getLaunch()
Maybe, empty if the launch is not started.