Class HOCONConfigurationChooserPropertyDescriptor
java.lang.Object
java.beans.FeatureDescriptor
java.beans.PropertyDescriptor
com.streambase.sb.operator.parameter.SBPropertyDescriptor
com.streambase.sb.operator.parameter.HOCONConfigurationChooserPropertyDescriptor
Property descriptor subclass which allows adapter BeanInfo classes to access
generic HOCON configuration data (for example, JDBC data sources -
com.tibco.ep.streambase.configuration.jdbcdatasource).
ConfigurationChooserPropertyDescriptor
only allows
access of adapter-configuration HOCON config, which not every adapter uses.
Any adapters which use the adapter-configuration HOCON type
(com.tibco.ep.streambase.configuration.adapter) should use
ConfigurationChooserPropertyDescriptor
. This class is more generic
for any other HOCON types.
- Since:
- 10.6
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Type of HOCON configuration to use.Nested classes/interfaces inherited from class com.streambase.sb.operator.parameter.SBPropertyDescriptor
SBPropertyDescriptor.SingleValueSetter
-
Field Summary
Fields inherited from class com.streambase.sb.operator.parameter.SBPropertyDescriptor
_expressionInputPort, NOT_AN_EXPRESSION
-
Constructor Summary
ConstructorDescriptionHOCONConfigurationChooserPropertyDescriptor
(String propertyName, Class<?> beanClass, HOCONConfigurationChooserPropertyDescriptor.ConfigurationType type) Construct a JDBCConfigurationPropertyDescriptor with the given property name (unique), the class containing the operator, and theHOCONConfigurationChooserPropertyDescriptor.ConfigurationType
that describes which HOCON config type this operator/adapter should use. -
Method Summary
Modifier and TypeMethodDescriptiongetType()
Gets the configuration type that would show up in a corresponding HOCON file.Methods inherited from class com.streambase.sb.operator.parameter.SBPropertyDescriptor
deprecated, description, displayName, getExpressionInputPort, getMaskDisplay, getMultiLine, getUIHints, isDeprecated, isExpression, isRequired, mask, multiline, optional, setDeprecated, setMaskStringDisplay, setMultiLine, setRequired, setUIHints
Methods inherited from class java.beans.PropertyDescriptor
createPropertyEditor, equals, getPropertyEditorClass, getPropertyType, getReadMethod, getWriteMethod, hashCode, isBound, isConstrained, setBound, setConstrained, setPropertyEditorClass, setReadMethod, setWriteMethod
Methods inherited from class java.beans.FeatureDescriptor
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue, toString
-
Constructor Details
-
HOCONConfigurationChooserPropertyDescriptor
public HOCONConfigurationChooserPropertyDescriptor(String propertyName, Class<?> beanClass, HOCONConfigurationChooserPropertyDescriptor.ConfigurationType type) throws IntrospectionException Construct a JDBCConfigurationPropertyDescriptor with the given property name (unique), the class containing the operator, and theHOCONConfigurationChooserPropertyDescriptor.ConfigurationType
that describes which HOCON config type this operator/adapter should use.- Parameters:
propertyName
- The name of the adapter property that this class controlsbeanClass
- The class which contains the operator code and where the property name is defined usuallytype
- The ConfigurationType that this operator/adapter should use- Throws:
IntrospectionException
- if introspection fails
-
-
Method Details
-
getType
Gets the configuration type that would show up in a corresponding HOCON file. CallgetType().toString()
- Returns:
- Config type
-