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) |
| 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 |
requiredPropertyStream1(EventProperty propertyRequirement)
Deprecated.
Use
requiredStream(CollectedStreamRequirements) instead |
BU |
requiredPropertyStream1WithNaryMapping(EventProperty propertyRequirement,
Label label,
PropertyScope propertyScope)
Deprecated.
Use
requiredStream(CollectedStreamRequirements) instead |
BU |
requiredPropertyStream1WithNaryMapping(EventProperty propertyRequirement,
String internalName,
String label,
String description)
Deprecated.
Use
requiredStream(CollectedStreamRequirements) instead |
BU |
requiredPropertyStream1WithUnaryMapping(EventProperty propertyRequirement,
Label label,
PropertyScope propertyScope)
Deprecated.
Use
requiredStream(CollectedStreamRequirements) instead |
BU |
requiredPropertyStream1WithUnaryMapping(EventProperty propertyRequirement,
String internalName,
String label,
String description)
Deprecated.
Use
requiredStream(CollectedStreamRequirements) instead |
BU |
requiredPropertyStream2(EventProperty propertyRequirement)
Deprecated.
Use
requiredStream(CollectedStreamRequirements) instead |
BU |
requiredPropertyStream2WithNaryMapping(EventProperty propertyRequirement,
String internalName,
String label,
String description)
Deprecated.
Use
requiredStream(CollectedStreamRequirements) instead |
BU |
requiredPropertyStream2WithUnaryMapping(EventProperty propertyRequirement,
String internalName,
String label,
String description)
Deprecated.
Use
requiredStream(CollectedStreamRequirements) instead |
BU |
requiredSingleValueSelectionFromContainer(Label label,
String linkedMappingPropertyId) |
BU |
requiredSingleValueSelectionFromRemote(Label label) |
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 |
unaryMappingProperty(StreamIdentifier streamIdentifier,
Integer propertyIndex,
Label label) |
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)
Deprecated.
Use this method if you want to present users a single-value selection of all available input
event properties.
|
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, requiredFloatParameter, requiredFloatParameter, requiredFloatParameter, requiredFloatParameter, requiredFloatParameter, requiredFloatParameter, requiredFloatParameter, requiredHtmlInputParameter, requiredIntegerParameter, requiredIntegerParameter, requiredIntegerParameter, requiredIntegerParameter, requiredIntegerParameter, requiredIntegerParameter, requiredIntegerParameter, requiredMultiValueSelection, requiredMultiValueSelection, requiredMultiValueSelection, requiredMultiValueSelection, requiredOntologyConcept, requiredOntologyConcept, requiredParameterAsCollection, requiredSingleValueSelection, requiredSingleValueSelection, requiredSingleValueSelection, requiredSingleValueSelection, requiredStaticProperty, requiredTextParameter, requiredTextParameter, requiredTextParameter, requiredTextParameter, requiredTextParameterbuild, iconUrl, me, prepareStaticPropertyprotected List<SpDataStream> streamRequirements
protected List<EventProperty> stream1Properties
protected List<EventProperty> stream2Properties
protected EventGrounding supportedGrounding
protected boolean stream1
protected boolean stream2
@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 CollectedStreamRequirements@Deprecated public BU requiredPropertyStream1WithNaryMapping(EventProperty propertyRequirement, Label label, PropertyScope propertyScope)
requiredStream(CollectedStreamRequirements) instead@Deprecated public BU requiredPropertyStream2(EventProperty propertyRequirement)
requiredStream(CollectedStreamRequirements) instead@Deprecated public BU requiredPropertyStream2WithUnaryMapping(EventProperty propertyRequirement, String internalName, String label, String description)
requiredStream(CollectedStreamRequirements) instead@Deprecated public BU requiredPropertyStream2WithNaryMapping(EventProperty propertyRequirement, String internalName, String label, String description)
requiredStream(CollectedStreamRequirements) instead@Deprecated public BU requiredPropertyStream1(EventProperty propertyRequirement)
requiredStream(CollectedStreamRequirements) instead@Deprecated public BU requiredPropertyStream1WithUnaryMapping(EventProperty propertyRequirement, String internalName, String label, String description)
requiredStream(CollectedStreamRequirements) instead@Deprecated public BU requiredPropertyStream1WithNaryMapping(EventProperty propertyRequirement, String internalName, String label, String description)
requiredStream(CollectedStreamRequirements) instead@Deprecated public BU requiredPropertyStream1WithUnaryMapping(EventProperty propertyRequirement, Label label, PropertyScope propertyScope)
requiredStream(CollectedStreamRequirements) insteadpublic BU unaryMappingProperty(StreamIdentifier streamIdentifier, Integer propertyIndex, Label label)
public BU requiredSingleValueSelectionFromRemote(Label label)
public BU requiredSingleValueSelectionFromContainer(Label label, String linkedMappingPropertyId)
public 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 © 2018. All rights reserved.