public class StreamRequirementsBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
CollectedStreamRequirements |
build()
Finishes the stream requirements definition.
|
static StreamRequirementsBuilder |
create()
Creates new requirements for a data processor or a data sink.
|
StreamRequirementsBuilder |
requiredProperty(EventProperty propertyRequirement)
Sets a new property requirement, e.g., a property of a specific data type or with specific semantics
a data stream that is connected to this pipeline element must provide.
|
StreamRequirementsBuilder |
requiredPropertyWithNaryMapping(EventProperty propertyRequirement,
Label label,
PropertyScope propertyScope)
Sets a new property requirement and, in addition, adds a
MappingPropertyNary static property to the pipeline element
definition. |
StreamRequirementsBuilder |
requiredPropertyWithUnaryMapping(EventProperty propertyRequirement,
Label label,
PropertyScope propertyScope)
Sets a new property requirement and, in addition, adds a
MappingPropertyUnary static property to the pipeline element
definition. |
public static StreamRequirementsBuilder create()
StreamRequirementsBuilderpublic StreamRequirementsBuilder requiredProperty(EventProperty propertyRequirement)
propertyRequirement - The property requirement. Use EpRequirements to
create a new requirement.public StreamRequirementsBuilder requiredPropertyWithUnaryMapping(EventProperty propertyRequirement, Label label, PropertyScope propertyScope)
MappingPropertyUnary static property to the pipeline element
definition.propertyRequirement - The property requirement. Use EpRequirements to
create a new requirement.label - The Label that defines the mapping property.propertyScope - The PropertyScope of the requirement.public StreamRequirementsBuilder requiredPropertyWithNaryMapping(EventProperty propertyRequirement, Label label, PropertyScope propertyScope)
MappingPropertyNary static property to the pipeline element
definition.propertyRequirement - The property requirement. Use EpRequirements to
create a new requirement.label - The Label that defines the mapping property.propertyScope - The PropertyScope of the requirement.public CollectedStreamRequirements build()
CollectedStreamRequirements that contains all defined
property requirements and static properties.Copyright © 2018. All rights reserved.