Class SBPropertyDescriptor

java.lang.Object
java.beans.FeatureDescriptor
java.beans.PropertyDescriptor
com.streambase.sb.operator.parameter.SBPropertyDescriptor
Direct Known Subclasses:
ConfigurationChooserPropertyDescriptor, EnumPropertyDescriptor, HOCONConfigurationChooserPropertyDescriptor, JavaEnumPropertyDescriptor, JavaTypePropertyDescriptor, ResourceFilePropertyDescriptor, SBExpressionPropertyDescriptor

public class SBPropertyDescriptor extends PropertyDescriptor
PropertyDescriptor subclass used by StreamBase operators and adapters to describe a property. The properties are used by Studio to display a user interface to the user, and is used to serialize/deserialize the operator to xml in EventFlow application files.

This class should be used for primitive java properties (int, long, etc.), Timestamp, Schema, String[], String[][] and Map\invalid input: '<'String, String\>. Subclasses handle specialized property types that support advanced user interface displays:

Property names must be unique for each operator. In other words, each property name for a specific operator must not have the same name as any other property for that operator.

Since 6.1.3, control over the StreamBase Studio user interface for properties can be achieved by setUIHints(UIHints). See also Parameterizable for how to achieve widget enablement control.

Since 7.3.5, properties of type String[][] are supported. These properties allow a list of paired values (that is, the length of the array for each entry must be exactly two).

Since 7.5, an operator can access the server configuration file, and use of a ConfigurationChooserPropertyDescriptor allows user input in retrieving information contained therein

Since 11.2.0, operators can specify migrations for deprecated properties, See migrateTo(SBPropertyDescriptor, Class, Class, Function)

See Also: