Package io.zeebe.test.util.record
Class MessageSubscriptionRecordStream
- java.lang.Object
-
- io.zeebe.test.util.stream.StreamWrapper<Record<T>,S>
-
- io.zeebe.test.util.record.ExporterRecordStream<MessageSubscriptionRecordValue,MessageSubscriptionRecordStream>
-
- io.zeebe.test.util.record.MessageSubscriptionRecordStream
-
- All Implemented Interfaces:
AutoCloseable,BaseStream<Record<MessageSubscriptionRecordValue>,Stream<Record<MessageSubscriptionRecordValue>>>,Stream<Record<MessageSubscriptionRecordValue>>
public class MessageSubscriptionRecordStream extends ExporterRecordStream<MessageSubscriptionRecordValue,MessageSubscriptionRecordStream>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.stream.Stream
Stream.Builder<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description MessageSubscriptionRecordStream(Stream<Record<MessageSubscriptionRecordValue>> wrappedStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MessageSubscriptionRecordStreamsupply(Stream<Record<MessageSubscriptionRecordValue>> wrappedStream)MessageSubscriptionRecordStreamwithCorrelationKey(String correlationKey)MessageSubscriptionRecordStreamwithElementInstanceKey(long elementInstanceKey)MessageSubscriptionRecordStreamwithMessageName(String messageName)MessageSubscriptionRecordStreamwithWorkflowInstanceKey(long workflowInstanceKey)-
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
-
MessageSubscriptionRecordStream
public MessageSubscriptionRecordStream(Stream<Record<MessageSubscriptionRecordValue>> wrappedStream)
-
-
Method Detail
-
supply
protected MessageSubscriptionRecordStream supply(Stream<Record<MessageSubscriptionRecordValue>> wrappedStream)
- Specified by:
supplyin classStreamWrapper<Record<MessageSubscriptionRecordValue>,MessageSubscriptionRecordStream>
-
withWorkflowInstanceKey
public MessageSubscriptionRecordStream withWorkflowInstanceKey(long workflowInstanceKey)
-
withElementInstanceKey
public MessageSubscriptionRecordStream withElementInstanceKey(long elementInstanceKey)
-
withMessageName
public MessageSubscriptionRecordStream withMessageName(String messageName)
-
withCorrelationKey
public MessageSubscriptionRecordStream withCorrelationKey(String correlationKey)
-
-