Package io.zeebe.test.util.record
Class MessageRecordStream
- java.lang.Object
-
- io.zeebe.test.util.stream.StreamWrapper<Record<T>,S>
-
- io.zeebe.test.util.record.ExporterRecordStream<T,S>
-
- io.zeebe.test.util.record.ExporterRecordWithVariablesStream<MessageRecordValue,MessageRecordStream>
-
- io.zeebe.test.util.record.MessageRecordStream
-
- All Implemented Interfaces:
AutoCloseable,BaseStream<Record<MessageRecordValue>,Stream<Record<MessageRecordValue>>>,Stream<Record<MessageRecordValue>>
public class MessageRecordStream extends ExporterRecordWithVariablesStream<MessageRecordValue,MessageRecordStream>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.stream.Stream
Stream.Builder<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description MessageRecordStream(Stream<Record<MessageRecordValue>> wrappedStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MessageRecordStreamsupply(Stream<Record<MessageRecordValue>> wrappedStream)MessageRecordStreamwithCorrelationKey(String correlationKey)MessageRecordStreamwithMessageId(String messageId)MessageRecordStreamwithName(String name)MessageRecordStreamwithTimeToLive(long timeToLive)-
Methods inherited from class io.zeebe.test.util.record.ExporterRecordWithVariablesStream
withVariables, withVariablesContaining, withVariablesContaining
-
Methods inherited from class io.zeebe.test.util.record.ExporterRecordStream
onlyCommandRejections, onlyCommands, onlyEvents, valueFilter, withIntent, withPartitionId, withPosition, withRecordKey, withRecordType, withRejectionReason, withRejectionType, withSourceRecordPosition, withTimestamp, withValueType
-
Methods inherited from class io.zeebe.test.util.stream.StreamWrapper
allMatch, anyMatch, asList, await, close, collect, collect, count, distinct, exists, filter, findAny, findFirst, flatMap, flatMapToDouble, flatMapToInt, flatMapToLong, forEach, forEachOrdered, getFirst, getLast, isParallel, iterator, limit, limit, map, mapToDouble, mapToInt, mapToLong, max, min, noneMatch, onClose, parallel, peek, reduce, reduce, reduce, sequential, skip, skipUntil, sorted, sorted, spliterator, toArray, toArray, unordered
-
-
-
-
Constructor Detail
-
MessageRecordStream
public MessageRecordStream(Stream<Record<MessageRecordValue>> wrappedStream)
-
-
Method Detail
-
supply
protected MessageRecordStream supply(Stream<Record<MessageRecordValue>> wrappedStream)
- Specified by:
supplyin classStreamWrapper<Record<MessageRecordValue>,MessageRecordStream>
-
withName
public MessageRecordStream withName(String name)
-
withCorrelationKey
public MessageRecordStream withCorrelationKey(String correlationKey)
-
withMessageId
public MessageRecordStream withMessageId(String messageId)
-
withTimeToLive
public MessageRecordStream withTimeToLive(long timeToLive)
-
-