public class ProcessingElementBuilder extends AbstractProcessingElementBuilder<ProcessingElementBuilder,DataProcessorDescription>
stream1, stream1Properties, stream2, stream2Properties, streamRequirements, supportedGroundingstaticPropertieselementDescription| Modifier and Type | Method and Description |
|---|---|
ProcessingElementBuilder |
category(DataProcessorType... epaCategory)
Assigns a category to the element which later serves to categorize data processors in the UI.
|
static ProcessingElementBuilder |
create(Label label) |
static ProcessingElementBuilder |
create(String id,
String label,
String description)
Creates a new processing element using the builder pattern.
|
protected ProcessingElementBuilder |
me() |
ProcessingElementBuilder |
outputStrategy(OutputStrategy outputStrategy)
Assigns an output strategy to the element which defines the output the data processor produces.
|
void |
prepareBuild() |
naryMappingPropertyWithoutRequirement, naryMappingPropertyWithoutRequirement, requiredPropertyStream1, requiredPropertyStream1WithNaryMapping, requiredPropertyStream1WithNaryMapping, requiredPropertyStream1WithUnaryMapping, requiredPropertyStream1WithUnaryMapping, requiredPropertyStream2, requiredPropertyStream2WithNaryMapping, requiredPropertyStream2WithUnaryMapping, requiredSingleValueSelectionFromContainer, requiredSingleValueSelectionFromRemote, requiredStream, requiredStream, setStream1, setStream2, supportedFormats, supportedFormats, supportedProtocols, supportedProtocols, unaryMappingProperty, unaryMappingPropertyWithoutRequirement, unaryMappingPropertyWithoutRequirement, unaryMappingPropertyWithoutRequirementgetStaticProperties, 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, prepareStaticPropertypublic static ProcessingElementBuilder create(String id, String label, String description)
id - A unique identifier of the new element, e.g., com.mycompany.processor.mynewdataprocessorlabel - A human-readable name of the element. Will later be shown as the element name in the StreamPipes UI.description - A human-readable description of the element.public static ProcessingElementBuilder create(Label label)
public ProcessingElementBuilder outputStrategy(OutputStrategy outputStrategy)
outputStrategy - An OutputStrategy. Use
OutputStrategies to assign the strategy.ProcessingElementBuilderpublic ProcessingElementBuilder category(DataProcessorType... epaCategory)
epaCategory - The DataProcessorType of the element.ProcessingElementBuilderpublic void prepareBuild()
prepareBuild in class AbstractProcessingElementBuilder<ProcessingElementBuilder,DataProcessorDescription>protected ProcessingElementBuilder me()
me in class AbstractPipelineElementBuilder<ProcessingElementBuilder,DataProcessorDescription>Copyright © 2018. All rights reserved.