public abstract class AbstractConfigurablePipelineElementBuilder<BU extends AbstractConfigurablePipelineElementBuilder<BU,T>,T extends NamedStreamPipesEntity> extends AbstractPipelineElementBuilder<BU,T>
| Modifier and Type | Field and Description |
|---|---|
protected List<StaticProperty> |
staticProperties |
elementDescription| Modifier | Constructor and Description |
|---|---|
protected |
AbstractConfigurablePipelineElementBuilder(String appId,
String label,
String description,
T element) |
| Modifier and Type | Method and Description |
|---|---|
protected List<StaticProperty> |
getStaticProperties() |
BU |
requiredFloatParameter(Label label)
Assigns a new number-based configuration parameter (a float) which is required by the pipeline
element.
|
BU |
requiredFloatParameter(Label label,
Float defaultValue)
Defines a number-based configuration parameter of type float provided by pipeline developers at pipeline
authoring time and initializes the parameter with a default value.
|
BU |
requiredFloatParameter(Label label,
String linkedMappingPropertyInternalName)
Defines a number-based configuration parameter of type float provided by pipeline developers at pipeline
authoring time.
|
BU |
requiredFloatParameter(String internalId,
String label,
String description)
Deprecated.
Use
requiredFloatParameter(Label) instead. |
BU |
requiredFloatParameter(String internalId,
String label,
String description,
Float defaultValue)
Deprecated.
Use
requiredFloatParameter(Label, Float) instead. |
BU |
requiredFloatParameter(String internalId,
String label,
String description,
Float min,
Float max,
Float step)
Defines a number-based configuration parameter of type float provided by pipeline developers at pipeline
authoring time.
|
BU |
requiredFloatParameter(String internalId,
String label,
String description,
String linkedMappingPropertyInternalName)
Deprecated.
|
BU |
requiredHtmlInputParameter(Label label)
Defines a text-based configuration parameter provided by pipeline developers at pipeline authoring time.
|
BU |
requiredIntegerParameter(Label label)
Assigns a new number-based configuration parameter (an integer) which is required by the pipeline
element.
|
BU |
requiredIntegerParameter(Label label,
Integer defaultValue)
Defines a number-based configuration parameter of type integer provided by pipeline developers at pipeline
authoring time and initializes the parameter with a default value.
|
BU |
requiredIntegerParameter(Label label,
String linkedMappingPropertyInternalName)
Defines a number-based configuration parameter of type integer provided by pipeline developers at pipeline
authoring time.
|
BU |
requiredIntegerParameter(String internalId,
String label,
String description)
Deprecated.
Use
requiredIntegerParameter(Label) instead |
BU |
requiredIntegerParameter(String internalId,
String label,
String description,
Integer defaultValue)
Deprecated.
Use
requiredIntegerParameter(Label, Integer) instead |
BU |
requiredIntegerParameter(String internalId,
String label,
String description,
Integer min,
Integer max,
Integer step) |
BU |
requiredIntegerParameter(String internalId,
String label,
String description,
String linkedMappingPropertyInternalName)
Deprecated.
use
requiredIntegerParameter(Label, String) instead |
BU |
requiredMultiValueSelection(Label label,
List<Option> options)
Defines a configuration parameter that lets pipeline developers select from a list of pre-defined configuration
options, but multiple selections are allowed.
|
BU |
requiredMultiValueSelection(Label label,
Option... options)
Defines a configuration parameter that lets pipeline developers select from a list of pre-defined configuration
options, but multiple selections are allowed.
|
BU |
requiredMultiValueSelection(String internalId,
String label,
String description,
List<Option> options)
Deprecated.
Use
requiredMultiValueSelection(Label, List) instead. |
BU |
requiredMultiValueSelection(String internalId,
String label,
String description,
Option... options)
Deprecated.
Use
requiredMultiValueSelection(Label, Option...) instead. |
BU |
requiredOntologyConcept(Label label,
String requiredConceptUri,
SupportedProperty... supportedOntologyProperties) |
BU |
requiredOntologyConcept(Label label,
SupportedProperty... supportedOntologyProperties)
Defines the requirement for an instance that is defined in the knowledge base.
|
BU |
requiredParameterAsCollection(Label label,
StaticProperty staticProperty) |
BU |
requiredSingleValueSelection(Label label,
List<Option> options)
Defines a configuration parameter that lets pipeline developers select from a list of pre-defined configuration
options.
|
BU |
requiredSingleValueSelection(Label label,
Option... options)
Defines a configuration parameter that lets pipeline developers select from a list of pre-defined configuration
options.
|
BU |
requiredSingleValueSelection(String internalId,
String label,
String description,
List<Option> options)
Deprecated.
Use
requiredSingleValueSelection(Label, List) instead. |
BU |
requiredSingleValueSelection(String internalId,
String label,
String description,
Option... options)
Deprecated.
Use
requiredSingleValueSelection(Label, Option...) instead. |
BU |
requiredStaticProperty(StaticProperty staticProperty) |
BU |
requiredTextParameter(Label label)
Assigns a new text-based configuration parameter (a string) which is required by the pipeline
element.
|
BU |
requiredTextParameter(Label label,
boolean multiLine,
boolean placeholdersSupported)
Defines a text-based configuration parameter provided by pipeline developers at pipeline authoring time.
|
BU |
requiredTextParameter(Label label,
String linkedMappingPropertyInternalName)
Defines a text-based configuration parameter provided by pipeline developers at pipeline authoring time.
|
BU |
requiredTextParameter(String internalId,
String label,
String description)
Deprecated.
|
BU |
requiredTextParameter(String internalId,
String label,
String description,
String linkedMappingPropertyInternalName)
Deprecated.
|
build, iconUrl, me, prepareBuild, prepareStaticPropertyprotected List<StaticProperty> staticProperties
public BU requiredStaticProperty(StaticProperty staticProperty)
staticProperty: - The required static property (e.g., user input as shown in the StreamPipes UIpublic BU requiredOntologyConcept(Label label, SupportedProperty... supportedOntologyProperties)
label: - A human-readable label that describes the required static property.supportedOntologyProperties: - All RDF properties any instance in the knowledge base must provide. Use
OntologyProperties to assign supported properties.public BU requiredOntologyConcept(Label label, String requiredConceptUri, SupportedProperty... supportedOntologyProperties)
label: - A human-readable label that describes the required static property.requiredConceptUri: - Limits the search for matching instance in the knowledge base to an instance of this
concept.supportedOntologyProperties: - All RDF properties any instance of the provided concept must provide. Use
OntologyProperties to assign supported properties.public BU requiredParameterAsCollection(Label label, StaticProperty staticProperty)
label: - A human-readable label that describes the required static property.staticProperty - public BU requiredTextParameter(String internalId, String label, String description)
requiredTextParameter(Label)internalId - label - description - public BU requiredTextParameter(Label label)
label - The Label that describes why this parameter is needed in a
user-friendly manner.public BU requiredTextParameter(String internalId, String label, String description, String linkedMappingPropertyInternalName)
requiredTextParameter(Label, String)internalId - label - description - linkedMappingPropertyInternalName - public BU requiredTextParameter(Label label, String linkedMappingPropertyInternalName)
label - The Label that describes why this parameter is needed in a
user-friendly manner.linkedMappingPropertyInternalName - The inernalId of the MappingPropertypublic BU requiredHtmlInputParameter(Label label)
label - The Label that describes why this parameter is needed in a
user-friendly manner.public BU requiredTextParameter(Label label, boolean multiLine, boolean placeholdersSupported)
label - The Label that describes why this parameter is needed in a
user-friendly manner.multiLine - Defines whether the input dialog allows multiple lines.placeholdersSupported - Defines whether placeholders are supported, i.e., event property field names that
are replaced with the actual value at pipeline execution time.public BU requiredIntegerParameter(String internalId, String label, String description)
requiredIntegerParameter(Label) insteadinternalId - label - description - public BU requiredIntegerParameter(Label label)
label - The Label that describes why this parameter is needed in a
user-friendly manner.public BU requiredIntegerParameter(String internalId, String label, String description, String linkedMappingPropertyInternalName)
requiredIntegerParameter(Label, String) insteadinternalId - label - description - linkedMappingPropertyInternalName - public BU requiredIntegerParameter(Label label, String linkedMappingPropertyInternalName)
label - The Label that describes why this parameter is needed in a
user-friendly manner.linkedMappingPropertyInternalName - The inernalId of the MappingPropertypublic BU requiredIntegerParameter(String internalId, String label, String description, Integer defaultValue)
requiredIntegerParameter(Label, Integer) insteadinternalId - label - description - defaultValue - public BU requiredIntegerParameter(Label label, Integer defaultValue)
label - The Label that describes why this parameter is needed in a
user-friendly manner.defaultValue - The default integer value.public BU requiredFloatParameter(String internalId, String label, String description)
requiredFloatParameter(Label) instead.internalId - label - description - public BU requiredFloatParameter(Label label)
label - The Label that describes why this parameter is needed in a
user-friendly manner.public BU requiredFloatParameter(String internalId, String label, String description, String linkedMappingPropertyInternalName)
requiredFloatParameter(Label, String)label - The Label that describes why this parameter is needed in a
user-friendly manner.linkedMappingPropertyInternalName - The inernalId of the MappingPropertypublic BU requiredFloatParameter(Label label, String linkedMappingPropertyInternalName)
label - The Label that describes why this parameter is needed in a
user-friendly manner.linkedMappingPropertyInternalName - The inernalId of the MappingPropertypublic BU requiredFloatParameter(String internalId, String label, String description, Float defaultValue)
requiredFloatParameter(Label, Float) instead.internalId - label - description - defaultValue - public BU requiredFloatParameter(Label label, Float defaultValue)
label - The Label that describes why this parameter is needed in a
user-friendly manner.defaultValue - The default integer value.public BU requiredSingleValueSelection(String internalId, String label, String description, Option... options)
requiredSingleValueSelection(Label, Option...) instead.public BU requiredSingleValueSelection(Label label, Option... options)
public BU requiredSingleValueSelection(String internalId, String label, String description, List<Option> options)
requiredSingleValueSelection(Label, List) instead.internalId - label - description - options - public BU requiredSingleValueSelection(Label label, List<Option> options)
public BU requiredMultiValueSelection(String internalId, String label, String description, Option... options)
requiredMultiValueSelection(Label, Option...) instead.internalId - label - description - options - public BU requiredMultiValueSelection(Label label, Option... options)
public BU requiredMultiValueSelection(String internalId, String label, String description, List<Option> options)
requiredMultiValueSelection(Label, List) instead.internalId - label - description - options - public BU requiredMultiValueSelection(Label label, List<Option> options)
public BU requiredIntegerParameter(String internalId, String label, String description, Integer min, Integer max, Integer step)
public BU requiredFloatParameter(String internalId, String label, String description, Float min, Float max, Float step)
label - The Label that describes why this parameter is needed in a
user-friendly manner.min - The minimum value of the allowed value range.max - The maximum value of the allowed value range.step - The granularityprotected List<StaticProperty> getStaticProperties()
Copyright © 2018. All rights reserved.