public class DataSetBuilder extends AbstractPipelineElementBuilder<DataSetBuilder,SpDataSet>
| Modifier and Type | Field and Description |
|---|---|
protected EventGrounding |
supportedGrounding |
elementDescription| Modifier | Constructor and Description |
|---|---|
protected |
DataSetBuilder(String id,
String label,
String description) |
| Modifier and Type | Method and Description |
|---|---|
static DataSetBuilder |
create(String id,
String label,
String description)
Creates a new data set using the builder pattern.
|
protected DataSetBuilder |
me() |
protected void |
prepareBuild() |
DataSetBuilder |
property(EventProperty property) |
DataSetBuilder |
supportedFormat(TransportFormat format) |
DataSetBuilder |
supportedProtocol(TransportProtocol protocol) |
build, iconUrl, prepareStaticPropertyprotected EventGrounding supportedGrounding
public static DataSetBuilder create(String id, String label, String description)
id - A unique identifier of the new element, e.g., com.mycompany.set.mynewdatasetlabel - 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.DataSetBuilderpublic DataSetBuilder property(EventProperty property)
public DataSetBuilder supportedProtocol(TransportProtocol protocol)
public DataSetBuilder supportedFormat(TransportFormat format)
protected DataSetBuilder me()
me in class AbstractPipelineElementBuilder<DataSetBuilder,SpDataSet>protected void prepareBuild()
prepareBuild in class AbstractPipelineElementBuilder<DataSetBuilder,SpDataSet>Copyright © 2018. All rights reserved.