Class HOCONConfigurationChooserPropertyDescriptor
- java.lang.Object
-
- java.beans.FeatureDescriptor
-
- java.beans.PropertyDescriptor
-
- com.streambase.sb.operator.parameter.SBPropertyDescriptor
-
- com.streambase.sb.operator.parameter.HOCONConfigurationChooserPropertyDescriptor
-
public class HOCONConfigurationChooserPropertyDescriptor extends SBPropertyDescriptor
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:
ConfigurationChooserPropertyDescriptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HOCONConfigurationChooserPropertyDescriptor.ConfigurationType
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
Constructors Constructor Description HOCONConfigurationChooserPropertyDescriptor(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HOCONConfigurationChooserPropertyDescriptor.ConfigurationType
getType()
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 Detail
-
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 Detail
-
getType
public HOCONConfigurationChooserPropertyDescriptor.ConfigurationType getType()
Gets the configuration type that would show up in a corresponding HOCON file. CallgetType().toString()
- Returns:
- Config type
-
-