Package io.zeebe.test.util.record
Class IncidentRecordStream
- java.lang.Object
-
- io.zeebe.test.util.stream.StreamWrapper<Record<T>,S>
-
- io.zeebe.test.util.record.ExporterRecordStream<IncidentRecordValue,IncidentRecordStream>
-
- io.zeebe.test.util.record.IncidentRecordStream
-
- All Implemented Interfaces:
AutoCloseable,BaseStream<Record<IncidentRecordValue>,Stream<Record<IncidentRecordValue>>>,Stream<Record<IncidentRecordValue>>
public class IncidentRecordStream extends ExporterRecordStream<IncidentRecordValue,IncidentRecordStream>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.stream.Stream
Stream.Builder<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description IncidentRecordStream(Stream<Record<IncidentRecordValue>> wrappedStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IncidentRecordStreamsupply(Stream<Record<IncidentRecordValue>> wrappedStream)IncidentRecordStreamwithBpmnProcessId(String bpmnProcessId)IncidentRecordStreamwithElementId(String elementId)IncidentRecordStreamwithErrorMessage(String errorMessage)IncidentRecordStreamwithErrorType(ErrorType errorType)IncidentRecordStreamwithJobKey(long jobKey)IncidentRecordStreamwithWorkflowInstanceKey(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
-
IncidentRecordStream
public IncidentRecordStream(Stream<Record<IncidentRecordValue>> wrappedStream)
-
-
Method Detail
-
supply
protected IncidentRecordStream supply(Stream<Record<IncidentRecordValue>> wrappedStream)
- Specified by:
supplyin classStreamWrapper<Record<IncidentRecordValue>,IncidentRecordStream>
-
withErrorType
public IncidentRecordStream withErrorType(ErrorType errorType)
-
withErrorMessage
public IncidentRecordStream withErrorMessage(String errorMessage)
-
withBpmnProcessId
public IncidentRecordStream withBpmnProcessId(String bpmnProcessId)
-
withElementId
public IncidentRecordStream withElementId(String elementId)
-
withWorkflowInstanceKey
public IncidentRecordStream withWorkflowInstanceKey(long workflowInstanceKey)
-
withJobKey
public IncidentRecordStream withJobKey(long jobKey)
-
-