Package io.zeebe.test.util.record
Class DeploymentRecordStream
- java.lang.Object
-
- io.zeebe.test.util.stream.StreamWrapper<Record<T>,S>
-
- io.zeebe.test.util.record.ExporterRecordStream<DeploymentRecordValue,DeploymentRecordStream>
-
- io.zeebe.test.util.record.DeploymentRecordStream
-
- All Implemented Interfaces:
AutoCloseable,BaseStream<Record<DeploymentRecordValue>,Stream<Record<DeploymentRecordValue>>>,Stream<Record<DeploymentRecordValue>>
public class DeploymentRecordStream extends ExporterRecordStream<DeploymentRecordValue,DeploymentRecordStream>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.stream.Stream
Stream.Builder<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description DeploymentRecordStream(Stream<Record<DeploymentRecordValue>> wrappedStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DeploymentRecordStreamsupply(Stream<Record<DeploymentRecordValue>> wrappedStream)DeploymentRecordStreamwithDeployedWorkflow(DeployedWorkflow deployedWorkflow)DeploymentRecordStreamwithDeployedWorkflows(List<DeployedWorkflow> deployedWorkflows)DeploymentRecordStreamwithResource(DeploymentResource resource)DeploymentRecordStreamwithResources(List<DeploymentResource> resources)-
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
-
DeploymentRecordStream
public DeploymentRecordStream(Stream<Record<DeploymentRecordValue>> wrappedStream)
-
-
Method Detail
-
supply
protected DeploymentRecordStream supply(Stream<Record<DeploymentRecordValue>> wrappedStream)
- Specified by:
supplyin classStreamWrapper<Record<DeploymentRecordValue>,DeploymentRecordStream>
-
withResources
public DeploymentRecordStream withResources(List<DeploymentResource> resources)
-
withResource
public DeploymentRecordStream withResource(DeploymentResource resource)
-
withDeployedWorkflows
public DeploymentRecordStream withDeployedWorkflows(List<DeployedWorkflow> deployedWorkflows)
-
withDeployedWorkflow
public DeploymentRecordStream withDeployedWorkflow(DeployedWorkflow deployedWorkflow)
-
-