Package io.zeebe.test.util.record
Class MessageStartEventSubscriptionRecordStream
- java.lang.Object
-
- io.zeebe.test.util.stream.StreamWrapper<Record<T>,S>
-
- io.zeebe.test.util.record.ExporterRecordStream<MessageStartEventSubscriptionRecordValue,MessageStartEventSubscriptionRecordStream>
-
- io.zeebe.test.util.record.MessageStartEventSubscriptionRecordStream
-
- All Implemented Interfaces:
AutoCloseable,BaseStream<Record<MessageStartEventSubscriptionRecordValue>,Stream<Record<MessageStartEventSubscriptionRecordValue>>>,Stream<Record<MessageStartEventSubscriptionRecordValue>>
public class MessageStartEventSubscriptionRecordStream extends ExporterRecordStream<MessageStartEventSubscriptionRecordValue,MessageStartEventSubscriptionRecordStream>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.stream.Stream
Stream.Builder<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description MessageStartEventSubscriptionRecordStream(Stream<Record<MessageStartEventSubscriptionRecordValue>> wrappedStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MessageStartEventSubscriptionRecordStreamsupply(Stream<Record<MessageStartEventSubscriptionRecordValue>> wrappedStream)MessageStartEventSubscriptionRecordStreamwithMessageName(String messageName)MessageStartEventSubscriptionRecordStreamwithStartEventId(String startEventId)MessageStartEventSubscriptionRecordStreamwithWorkfloKey(long workflowKey)-
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
-
MessageStartEventSubscriptionRecordStream
public MessageStartEventSubscriptionRecordStream(Stream<Record<MessageStartEventSubscriptionRecordValue>> wrappedStream)
-
-
Method Detail
-
supply
protected MessageStartEventSubscriptionRecordStream supply(Stream<Record<MessageStartEventSubscriptionRecordValue>> wrappedStream)
- Specified by:
supplyin classStreamWrapper<Record<MessageStartEventSubscriptionRecordValue>,MessageStartEventSubscriptionRecordStream>
-
withWorkfloKey
public MessageStartEventSubscriptionRecordStream withWorkfloKey(long workflowKey)
-
withStartEventId
public MessageStartEventSubscriptionRecordStream withStartEventId(String startEventId)
-
withMessageName
public MessageStartEventSubscriptionRecordStream withMessageName(String messageName)
-
-