public class TestSuiteReport extends Object implements ReadStream<TestCaseReport>
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<TestSuiteReport> |
__TYPE_ARG |
Constructor and Description |
---|
TestSuiteReport(Object delegate) |
TestSuiteReport(TestSuiteReport delegate) |
Modifier and Type | Method and Description |
---|---|
TestSuiteReport |
endHandler(Handler<Void> endHandler)
Set an end handler.
|
boolean |
equals(Object o) |
TestSuiteReport |
exceptionHandler(Handler<Throwable> handler)
Set an exception handler, the exception handler reports the test suite errors, it can be called mulitple
times before the test ends.
|
ReadStream<TestCaseReport> |
fetch(long amount)
Fetch the specified
amount of elements. |
TestSuiteReport |
getDelegate() |
TestSuiteReport |
handler(Handler<TestCaseReport> handler)
Set a data handler.
|
int |
hashCode() |
String |
name() |
static TestSuiteReport |
newInstance(TestSuiteReport arg) |
TestSuiteReport |
pause()
Pause the
ReadStream , it sets the buffer in fetch mode and clears the actual demand. |
Pipe<TestCaseReport> |
pipe()
Pause this stream and return a to transfer the elements of this stream to a destination .
|
void |
pipeTo(WriteStream<TestCaseReport> dst)
Like
ReadStream.pipeTo(io.vertx.rxjava.core.streams.WriteStream<T>) but with no completion handler. |
void |
pipeTo(WriteStream<TestCaseReport> dst,
Handler<AsyncResult<Void>> handler)
Pipe this
ReadStream to the WriteStream . |
Observable<Void> |
pipeToObservable(WriteStream<TestCaseReport> dst)
|
TestSuiteReport |
resume()
Resume reading, and sets the buffer in
flowing mode. |
Single<Void> |
rxPipeTo(WriteStream<TestCaseReport> dst)
Pipe this
ReadStream to the WriteStream . |
Observable<TestCaseReport> |
toObservable() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
newInstance, newInstance
newInstance
public static final io.vertx.lang.rx.TypeArg<TestSuiteReport> __TYPE_ARG
public TestSuiteReport(TestSuiteReport delegate)
public TestSuiteReport(Object delegate)
public TestSuiteReport getDelegate()
getDelegate
in interface ReadStream<TestCaseReport>
getDelegate
in interface StreamBase
public Observable<TestCaseReport> toObservable()
toObservable
in interface ReadStream<TestCaseReport>
public ReadStream<TestCaseReport> fetch(long amount)
amount
of elements. If the ReadStream
has been paused, reading will
recommence with the specified amount
of items, otherwise the specified amount
will
be added to the current stream demand.fetch
in interface ReadStream<TestCaseReport>
amount
- public Pipe<TestCaseReport> pipe()
WriteStream
.pipe
in interface ReadStream<TestCaseReport>
public void pipeTo(WriteStream<TestCaseReport> dst)
ReadStream.pipeTo(io.vertx.rxjava.core.streams.WriteStream<T>)
but with no completion handler.pipeTo
in interface ReadStream<TestCaseReport>
dst
- public void pipeTo(WriteStream<TestCaseReport> dst, Handler<AsyncResult<Void>> handler)
ReadStream
to the WriteStream
.
Elements emitted by this stream will be written to the write stream until this stream ends or fails.
Once this stream has ended or failed, the write stream will be ended and the handler
will be
called with the result.
pipeTo
in interface ReadStream<TestCaseReport>
dst
- the destination write streamhandler
- @Deprecated public Observable<Void> pipeToObservable(WriteStream<TestCaseReport> dst)
rxPipeTo(io.vertx.rxjava.core.streams.WriteStream<io.vertx.rxjava.ext.unit.report.TestCaseReport>)
insteadReadStream
to the WriteStream
.
Elements emitted by this stream will be written to the write stream until this stream ends or fails.
Once this stream has ended or failed, the write stream will be ended and the handler
will be
called with the result.
dst
- the destination write streampublic Single<Void> rxPipeTo(WriteStream<TestCaseReport> dst)
ReadStream
to the WriteStream
.
Elements emitted by this stream will be written to the write stream until this stream ends or fails.
Once this stream has ended or failed, the write stream will be ended and the handler
will be
called with the result.
dst
- the destination write streampublic String name()
public TestSuiteReport exceptionHandler(Handler<Throwable> handler)
exceptionHandler
in interface ReadStream<TestCaseReport>
exceptionHandler
in interface StreamBase
handler
- the exception handlerpublic TestSuiteReport handler(Handler<TestCaseReport> handler)
ReadStream
handler
in interface ReadStream<TestCaseReport>
public TestSuiteReport pause()
ReadStream
ReadStream
, it sets the buffer in fetch
mode and clears the actual demand.
While it's paused, no data will be sent to the data handler
.
pause
in interface ReadStream<TestCaseReport>
public TestSuiteReport resume()
ReadStream
flowing
mode.
If the ReadStream
has been paused, reading will recommence on it.resume
in interface ReadStream<TestCaseReport>
public TestSuiteReport endHandler(Handler<Void> endHandler)
ReadStream
endHandler
in interface ReadStream<TestCaseReport>
public static TestSuiteReport newInstance(TestSuiteReport arg)
Copyright © 2023 Eclipse. All rights reserved.