/** * Defines a text-based configuration parameter provided by pipeline developers at pipeline authoring time. The * value range of the parameter is restricted to the value specification of a selected input event property. * @param label The {@link org.streampipes.sdk.helpers.Label} that describes why this parameter is needed in a * user-friendly manner. * @param linkedMappingPropertyInternalName The inernalId of the {@link org.streampipes.model.staticproperty.MappingProperty} * @return this */ public BU requiredTextParameter(Label label, String linkedMappingPropertyInternalName) { FreeTextStaticProperty fsp = prepareFreeTextStaticProperty(label, XSD._string.toString()); fsp.setMapsTo(linkedMappingPropertyInternalName); this.staticProperties.add(fsp); return me(); }
/** * Defines a number-based configuration parameter of type integer provided by pipeline developers at pipeline * authoring time. The * value range of the parameter is restricted to the value specification of a selected input event property. * @param label The {@link org.streampipes.sdk.helpers.Label} that describes why this parameter is needed in a * user-friendly manner. * @param linkedMappingPropertyInternalName The inernalId of the {@link org.streampipes.model.staticproperty.MappingProperty} * @return this */ public BU requiredIntegerParameter(Label label, String linkedMappingPropertyInternalName) { FreeTextStaticProperty fsp = prepareFreeTextStaticProperty(label, XSD._integer.toString()); fsp.setMapsTo(linkedMappingPropertyInternalName); this.staticProperties.add(fsp); return me(); }
/** * Defines a number-based configuration parameter of type float provided by pipeline developers at pipeline * authoring time. The * value range of the parameter is restricted to the value specification of a selected input event property. * @param label The {@link org.streampipes.sdk.helpers.Label} that describes why this parameter is needed in a * user-friendly manner. * @param linkedMappingPropertyInternalName The inernalId of the {@link org.streampipes.model.staticproperty.MappingProperty} * @return this */ public BU requiredFloatParameter(Label label, String linkedMappingPropertyInternalName) { FreeTextStaticProperty fsp = prepareFreeTextStaticProperty(label, XSD._double.toString()); fsp.setMapsTo(linkedMappingPropertyInternalName); this.staticProperties.add(fsp); return me(); }
/** * @deprecated Use {@link #requiredTextParameter(Label, String)} * @param internalId * @param label * @param description * @param linkedMappingPropertyInternalName * @return this */ public BU requiredTextParameter(String internalId, String label, String description, String linkedMappingPropertyInternalName) { FreeTextStaticProperty fsp = prepareFreeTextStaticProperty(internalId, label, description, XSD._string.toString()); fsp.setMapsTo(linkedMappingPropertyInternalName); this.staticProperties.add(fsp); return me(); }
/** * @deprecated use {@link #requiredIntegerParameter(Label, String)} instead * @param internalId * @param label * @param description * @param linkedMappingPropertyInternalName * @return */ public BU requiredIntegerParameter(String internalId, String label, String description, String linkedMappingPropertyInternalName) { FreeTextStaticProperty fsp = prepareFreeTextStaticProperty(internalId, label, description, XSD._integer.toString()); fsp.setMapsTo(linkedMappingPropertyInternalName); this.staticProperties.add(fsp); return me(); }
/** * Defines a number-based configuration parameter of type float provided by pipeline developers at pipeline * authoring time. The * value range of the parameter is restricted to the value specification of a selected input event property. * @deprecated use {@link #requiredFloatParameter(Label, String)} * @param label The {@link org.streampipes.sdk.helpers.Label} that describes why this parameter is needed in a * user-friendly manner. * @param linkedMappingPropertyInternalName The inernalId of the {@link org.streampipes.model.staticproperty.MappingProperty} * @return this */ public BU requiredFloatParameter(String internalId, String label, String description, String linkedMappingPropertyInternalName) { FreeTextStaticProperty fsp = prepareFreeTextStaticProperty(internalId, label, description, XSD._double.toString()); fsp.setMapsTo(linkedMappingPropertyInternalName); this.staticProperties.add(fsp); return me(); }