public abstract class AbstractProcessingElementBuilder<BU extends AbstractProcessingElementBuilder<BU,T>,T extends ConsumableStreamPipesEntity> extends AbstractConfigurablePipelineElementBuilder<BU,T>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
stream1 |
protected List<EventProperty> |
stream1Properties |
protected boolean |
stream2 |
protected List<EventProperty> |
stream2Properties |
protected List<SpDataStream> |
streamRequirements |
protected EventGrounding |
supportedGrounding |
staticPropertieselementDescription| Modifier | Constructor and Description |
|---|---|
protected |
AbstractProcessingElementBuilder(String id,
String label,
String description,
T element) |
protected |
AbstractProcessingElementBuilder(String id,
T element) |
| Modifier and Type | Method and Description |
|---|---|
BU |
naryMappingPropertyWithoutRequirement(Label label,
PropertyScope propertyScope)
Adds a new
MappingPropertyNary to the pipeline element definition
which is not linked to a specific input property. |
BU |
naryMappingPropertyWithoutRequirement(String internalName,
String label,
String description)
Deprecated.
|
void |
prepareBuild() |
BU |
requiredStream(CollectedStreamRequirements streamRequirements)
Set a new stream requirement by adding restrictions on this stream.
|
BU |
requiredStream(SpDataStream stream)
Deprecated.
Use
requiredStream(CollectedStreamRequirements) instead |
BU |
setStream1()
Deprecated.
Use
requiredStream(CollectedStreamRequirements) instead |
BU |
setStream2()
Deprecated.
Use
requiredStream(CollectedStreamRequirements) instead |
BU |
supportedFormats(List<TransportFormat> formats)
Assigns supported transport formats to the pipeline elements that can be handled at runtime (e.g.,
JSON or XMl).
|
BU |
supportedFormats(TransportFormat... format)
Assigns supported transport formats to the pipeline elements that can be handled at runtime (e.g.,
JSON or XMl).
|
BU |
supportedProtocols(List<TransportProtocol> protocols)
Assigns supported communication/transport protocols to the pipeline elements that can be handled at runtime (e.g.,
Kafka or JMS).
|
BU |
supportedProtocols(TransportProtocol... protocol)
Assigns supported communication/transport protocols to the pipeline elements that can be handled at runtime (e.g.,
Kafka or JMS).
|
BU |
unaryMappingPropertyWithoutRequirement(Label label)
Deprecated.
Use this method if you want to present users a single-value selection of all available input
event properties.
|
BU |
unaryMappingPropertyWithoutRequirement(Label label,
PropertyScope propertyScope)
Adds a new
MappingPropertyUnary to the pipeline element definition
which is not linked to a specific input property. |
BU |
unaryMappingPropertyWithoutRequirement(String internalName,
String label,
String description)
Deprecated.
Use
unaryMappingPropertyWithoutRequirement(Label) instead.
Use this method if you want to present users a single-value selection of all available input
event properties. |
getStaticProperties, requiredAlternatives, requiredFile, requiredFloatParameter, requiredFloatParameter, requiredFloatParameter, requiredFloatParameter, requiredFloatParameter, requiredFloatParameter, requiredFloatParameter, requiredHtmlInputParameter, requiredIntegerParameter, requiredIntegerParameter, requiredIntegerParameter, requiredIntegerParameter, requiredIntegerParameter, requiredIntegerParameter, requiredIntegerParameter, requiredIntegerParameter, requiredMultiValueSelection, requiredMultiValueSelection, requiredMultiValueSelection, requiredMultiValueSelection, requiredMultiValueSelectionFromContainer, requiredMultiValueSelectionFromContainer, requiredOntologyConcept, requiredOntologyConcept, requiredParameterAsCollection, requiredSecret, requiredSingleValueSelection, requiredSingleValueSelection, requiredSingleValueSelection, requiredSingleValueSelection, requiredSingleValueSelectionFromContainer, requiredSingleValueSelectionFromContainer, requiredStaticProperty, requiredTextParameter, requiredTextParameter, requiredTextParameter, requiredTextParameter, requiredTextParameterbuild, iconUrl, me, prepareStaticProperty, providesAssets, withAssets, withLocalesprotected List<SpDataStream> streamRequirements
protected List<EventProperty> stream1Properties
protected List<EventProperty> stream2Properties
protected EventGrounding supportedGrounding
protected boolean stream1
protected boolean stream2
protected AbstractProcessingElementBuilder(String id, String label, String description, T element)
@Deprecated public BU requiredStream(SpDataStream stream)
requiredStream(CollectedStreamRequirements) insteadpublic BU requiredStream(CollectedStreamRequirements streamRequirements)
StreamRequirementsBuilder to create requirements for a single stream.streamRequirements: - A bundle of collected CollectedStreamRequirementspublic BU naryMappingPropertyWithoutRequirement(String internalName, String label, String description)
naryMappingPropertyWithoutRequirement(Label, PropertyScope) instead.internalName - label - description - public BU naryMappingPropertyWithoutRequirement(Label label, PropertyScope propertyScope)
MappingPropertyNary to the pipeline element definition
which is not linked to a specific input property.
Use this method if you want to present users a selection (in form of a Checkbox Group) of all available input
event properties.label - A human-readable label that is displayed to users in the StreamPipes UI.propertyScope - Only input event properties that match the
PropertyScope are displayed.public BU unaryMappingPropertyWithoutRequirement(String internalName, String label, String description)
unaryMappingPropertyWithoutRequirement(Label) instead.
Use this method if you want to present users a single-value selection of all available input
event properties.MappingPropertyUnary to the pipeline element definition
which is not linked to a specific input property.label - A human-readable labelpublic BU unaryMappingPropertyWithoutRequirement(Label label)
MappingPropertyUnary to the pipeline element definition
which is not linked to a specific input property.label - public BU unaryMappingPropertyWithoutRequirement(Label label, PropertyScope propertyScope)
MappingPropertyUnary to the pipeline element definition
which is not linked to a specific input property.label - A human-readable label that is displayed to users in the StreamPipes UI.propertyScope - Only input event properties that match the
PropertyScope are displayed.public BU supportedFormats(TransportFormat... format)
format - An arbitrary number of supported TransportFormats. Use
SupportedFormats to assign formats from some pre-defined
ones or create your own by following the developer guide.public BU supportedFormats(List<TransportFormat> formats)
formats - A list of supported TransportFormats. Use
SupportedFormats to assign formats from some pre-defined
ones or create your own by following the developer guide.public BU supportedProtocols(TransportProtocol... protocol)
protocol - An arbitrary number of supported TransportProtocols. Use
SupportedProtocols to assign protocols from some pre-defined
ones or create your own by following the developer guide.public BU supportedProtocols(List<TransportProtocol> protocols)
protocols - A list of supported TransportProtocols. Use
SupportedProtocols to assign protocols from some pre-defined
ones or create your own by following the developer guide.public BU setStream1()
requiredStream(CollectedStreamRequirements) insteadpublic BU setStream2()
requiredStream(CollectedStreamRequirements) insteadpublic void prepareBuild()
prepareBuild in class AbstractPipelineElementBuilder<BU extends AbstractProcessingElementBuilder<BU,T>,T extends ConsumableStreamPipesEntity>Copyright © 2019. All rights reserved.