Package com.tibco.ep.tcs.runtime.config
Class ExportedEndpointsConfig
- java.lang.Object
-
- com.tibco.ep.tcs.runtime.config.BaseConfig
-
- com.tibco.ep.tcs.runtime.config.ExportedEndpointsConfig
-
public final class ExportedEndpointsConfig extends BaseConfig
A class containing a flow's exported endpoints.
-
-
Constructor Summary
Constructors Constructor Description ExportedEndpointsConfig()
Create a new empty exported endpoints object.ExportedEndpointsConfig(IExportedEndpoints source)
Create a new exported endpoints object from the specified interface source.ExportedEndpointsConfig(com.typesafe.config.Config config)
Create a new exported endpoints object from HOCON configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportedEndpointsConfig
addInput(ModuleBlockPortConfig input)
Add an exported input endpoint.ExportedEndpointsConfig
addOutput(ModuleBlockPortConfig output)
Add an exported output endpoint.protected void
fillMap(Map<String,Object> props)
Add this object's properties to the specified map.List<ModuleBlockPortConfig>
getInputs()
Return a list of exported input endpoints.List<ModuleBlockPortConfig>
getOutputs()
Return a list of exported output endpoints.ExportedEndpointsConfig
setInputs(List<ModuleBlockPortConfig> inputs)
Set a list of exported input endpoints.ExportedEndpointsConfig
setOutputs(List<ModuleBlockPortConfig> outputs)
Set a list of exported output endpoints.-
Methods inherited from class com.tibco.ep.tcs.runtime.config.BaseConfig
toHOCON
-
-
-
-
Constructor Detail
-
ExportedEndpointsConfig
public ExportedEndpointsConfig()
Create a new empty exported endpoints object.
-
ExportedEndpointsConfig
public ExportedEndpointsConfig(IExportedEndpoints source)
Create a new exported endpoints object from the specified interface source.
- Parameters:
source
- source object
-
ExportedEndpointsConfig
public ExportedEndpointsConfig(com.typesafe.config.Config config)
Create a new exported endpoints object from HOCON configuration.
- Parameters:
config
- HOCON representation of the exported endpoints
-
-
Method Detail
-
getInputs
public List<ModuleBlockPortConfig> getInputs()
Return a list of exported input endpoints.
- Returns:
- inputs
-
setInputs
public ExportedEndpointsConfig setInputs(List<ModuleBlockPortConfig> inputs)
Set a list of exported input endpoints.
- Parameters:
inputs
- inputs- Returns:
- this object
-
addInput
public ExportedEndpointsConfig addInput(ModuleBlockPortConfig input)
Add an exported input endpoint. Cannot be null.
- Parameters:
input
- input to add- Returns:
- this object
-
getOutputs
public List<ModuleBlockPortConfig> getOutputs()
Return a list of exported output endpoints.
- Returns:
- outputs
-
setOutputs
public ExportedEndpointsConfig setOutputs(List<ModuleBlockPortConfig> outputs)
Set a list of exported output endpoints.
- Parameters:
outputs
- outputs- Returns:
- this object
-
addOutput
public ExportedEndpointsConfig addOutput(ModuleBlockPortConfig output)
Add an exported output endpoint. Cannot be null.
- Parameters:
output
- output to add- Returns:
- this object
-
fillMap
protected void fillMap(Map<String,Object> props)
Add this object's properties to the specified map.
- Specified by:
fillMap
in classBaseConfig
- Parameters:
props
- map to fill
-
-