Package com.tibco.ep.tcs.runtime.config
Interface ICustomTupleSchemaProducer
-
public interface ICustomTupleSchemaProducer
An interface describing production of a tuple schema from block instance configuration. Used by stream input blocks to provide their input schemas where appropriate.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canProcessConfigurationsFor(String schemaURL)
Return true if this producer can process configurations that conform to the specified JSON schema, false otherwise.Schema
getTupleSchema(com.typesafe.config.Config config, TupleSchemaFactory tupleSchemaFactory, FlowValidationProblemList problems)
Produce a tuple schema, null with problems added if unknown
-
-
-
Method Detail
-
canProcessConfigurationsFor
boolean canProcessConfigurationsFor(String schemaURL)
Return true if this producer can process configurations that conform to the specified JSON schema, false otherwise.
- Parameters:
schemaURL
- schema to check- Returns:
- true or false as described above
-
getTupleSchema
Schema getTupleSchema(com.typesafe.config.Config config, TupleSchemaFactory tupleSchemaFactory, FlowValidationProblemList problems)
Produce a tuple schema, null with problems added if unknown
- Parameters:
config
- instance configuration to processtupleSchemaFactory
- used to create EventFlow tuple schemas associated with the specified configurationproblems
- container for any problems encountered while creating tuple schemas- Returns:
- tuple schema
-
-