Package com.tibco.ep.tcs.runtime.config
Class StreamInputBlockMetaDataConfig
- java.lang.Object
-
- com.tibco.ep.tcs.runtime.config.BaseConfig
-
- com.tibco.ep.tcs.runtime.config.BlockMetaDataConfig
-
- com.tibco.ep.tcs.runtime.config.StreamInputBlockMetaDataConfig
-
public class StreamInputBlockMetaDataConfig extends BlockMetaDataConfig
Configuration that describes a TCS stream input block with a hard-wired configuration JSON schema.
-
-
Field Summary
-
Fields inherited from class com.tibco.ep.tcs.runtime.config.BlockMetaDataConfig
CONFIGURATION_SCHEMA_PROP
-
-
Constructor Summary
Constructors Constructor Description StreamInputBlockMetaDataConfig()
Create a new empty stream input block metadata object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fillMap(Map<String,Object> props)
Add this object's properties to the specified map.String
getCustomTupleSchemaProducerClass()
Return the class that produces a tuple schema from a block instance configuration and a block metadata configuration schema.StreamInputBlockMetaDataConfig
setConfigurationSchema(String configurationSchema)
Set the schema that describes and validates configuration for this block, expressed as a fully-qualified class path resource.StreamInputBlockMetaDataConfig
setCustomTupleSchemaProducerClass(String customTupleSchemaProducerClass)
Set the class that produces a tuple schema from a block instance configuration and a block metadata configuration schema.-
Methods inherited from class com.tibco.ep.tcs.runtime.config.BlockMetaDataConfig
getConfigurationSchema
-
Methods inherited from class com.tibco.ep.tcs.runtime.config.BaseConfig
toHOCON
-
-
-
-
Method Detail
-
getCustomTupleSchemaProducerClass
public String getCustomTupleSchemaProducerClass()
Return the class that produces a tuple schema from a block instance configuration and a block metadata configuration schema.
- Returns:
- producer class
-
setCustomTupleSchemaProducerClass
public StreamInputBlockMetaDataConfig setCustomTupleSchemaProducerClass(String customTupleSchemaProducerClass)
Set the class that produces a tuple schema from a block instance configuration and a block metadata configuration schema.
- Parameters:
customTupleSchemaProducerClass
- producer class- Returns:
- this object
-
setConfigurationSchema
public StreamInputBlockMetaDataConfig setConfigurationSchema(String configurationSchema)
Set the schema that describes and validates configuration for this block, expressed as a fully-qualified class path resource.
- Overrides:
setConfigurationSchema
in classBlockMetaDataConfig
- Parameters:
configurationSchema
- schema- Returns:
- this object
-
fillMap
protected void fillMap(Map<String,Object> props)
Add this object's properties to the specified map. Override superclass so configuration schema isn't part of the configuration, making the method implementation a no-op.
- Overrides:
fillMap
in classBlockMetaDataConfig
- Parameters:
props
- map to fill
-
-