Package com.tibco.ep.tcs.runtime.config
Class DependentBlockMetaDataConfig
- java.lang.Object
-
- com.tibco.ep.tcs.runtime.config.BaseConfig
-
- com.tibco.ep.tcs.runtime.config.BlockMetaDataConfig
-
- com.tibco.ep.tcs.runtime.config.DependentBlockMetaDataConfig
-
public class DependentBlockMetaDataConfig extends BlockMetaDataConfig
Configuration that describes the metadata for a TCS dependent block.
-
-
Field Summary
-
Fields inherited from class com.tibco.ep.tcs.runtime.config.BlockMetaDataConfig
CONFIGURATION_SCHEMA_PROP
-
-
Constructor Summary
Constructors Constructor Description DependentBlockMetaDataConfig()
Create a new empty dependent block metadata object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DependentBlockMetaDataConfig
addParentConfigurationTransformation(TransformationConfig parentConfigurationTransformation)
Add a parent configuration transformation.protected void
fillMap(Map<String,Object> props)
Add this object's properties to the specified map.String
getParentBlockID()
Return the dependent block's parent block identifier.List<TransformationConfig>
getParentConfigurationTransformations()
Return a list of transformations to produce this block's parent HOCON configuration.DependentBlockMetaDataConfig
setConfigurationSchema(String configurationSchema)
Set the schema that describes and validates configuration for this block, expressed as a fully-qualified class path resource.DependentBlockMetaDataConfig
setParentBlockID(String parentBlockID)
Set the dependent block's parent block identifier.DependentBlockMetaDataConfig
setParentConfigurationTransformations(List<TransformationConfig> parentConfigurationTransformations)
Set a list of transformations to produce this block's parent HOCON configuration.-
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
-
getParentBlockID
public String getParentBlockID()
Return the dependent block's parent block identifier.
- Returns:
- parent block ID
-
setParentBlockID
public DependentBlockMetaDataConfig setParentBlockID(String parentBlockID)
Set the dependent block's parent block identifier.
- Parameters:
parentBlockID
- parent block ID- Returns:
- this object
-
getParentConfigurationTransformations
public List<TransformationConfig> getParentConfigurationTransformations()
Return a list of transformations to produce this block's parent HOCON configuration.
- Returns:
- transformations for parent
-
setParentConfigurationTransformations
public DependentBlockMetaDataConfig setParentConfigurationTransformations(List<TransformationConfig> parentConfigurationTransformations)
Set a list of transformations to produce this block's parent HOCON configuration.
- Parameters:
parentConfigurationTransformations
- transformation list- Returns:
- this object
-
addParentConfigurationTransformation
public DependentBlockMetaDataConfig addParentConfigurationTransformation(TransformationConfig parentConfigurationTransformation)
Add a parent configuration transformation. Cannot be null.
- Parameters:
parentConfigurationTransformation
- transformation to add- Returns:
- this object
-
setConfigurationSchema
public DependentBlockMetaDataConfig 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.
- Overrides:
fillMap
in classBlockMetaDataConfig
- Parameters:
props
- map to fill
-
-