Package io.zeebe.test.util.record
Class JobRecordStream
- 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<JobRecordValue,JobRecordStream>
-
- io.zeebe.test.util.record.JobRecordStream
-
- All Implemented Interfaces:
AutoCloseable,BaseStream<Record<JobRecordValue>,Stream<Record<JobRecordValue>>>,Stream<Record<JobRecordValue>>
public class JobRecordStream extends ExporterRecordWithVariablesStream<JobRecordValue,JobRecordStream>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.stream.Stream
Stream.Builder<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description JobRecordStream(Stream<Record<JobRecordValue>> wrappedStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JobRecordStreamsupply(Stream<Record<JobRecordValue>> wrappedStream)JobRecordStreamwithRetries(int retries)JobRecordStreamwithType(String type)JobRecordStreamwithWorkflowInstanceKey(long workflowInstanceKey)-
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
-
JobRecordStream
public JobRecordStream(Stream<Record<JobRecordValue>> wrappedStream)
-
-
Method Detail
-
supply
protected JobRecordStream supply(Stream<Record<JobRecordValue>> wrappedStream)
- Specified by:
supplyin classStreamWrapper<Record<JobRecordValue>,JobRecordStream>
-
withType
public JobRecordStream withType(String type)
-
withRetries
public JobRecordStream withRetries(int retries)
-
withWorkflowInstanceKey
public JobRecordStream withWorkflowInstanceKey(long workflowInstanceKey)
-
-