public interface TopicEndpoint
extends org.openecomp.policy.drools.properties.Startable, org.openecomp.policy.drools.properties.Lockable
Modifier and Type | Field and Description |
---|---|
static TopicEndpoint |
manager
singleton for global access
|
Modifier and Type | Method and Description |
---|---|
List<? extends TopicSink> |
addTopicSinks(Properties properties)
Add Topic Sinks to the communication infrastructure initialized per
properties
|
List<? extends TopicSource> |
addTopicSources(Properties properties)
Add Topic Sources to the communication infrastructure initialized per
properties
|
DmaapTopicSink |
getDmaapTopicSink(String topicName)
get the DMAAP Topic Source for the given topic name
|
List<DmaapTopicSink> |
getDmaapTopicSinks()
gets only the DMAAP Topic Sinks
|
DmaapTopicSource |
getDmaapTopicSource(String topicName)
get the DMAAP Topic Source for the given topic name
|
List<DmaapTopicSource> |
getDmaapTopicSources()
gets only the DMAAP Topic Sources
|
TopicSink |
getTopicSink(Topic.CommInfrastructure commType,
String topicName)
get the Topic Sinks for the given topic name and
underlying communication infrastructure type
|
List<? extends TopicSink> |
getTopicSinks()
gets all Topic Sinks
|
List<? extends TopicSink> |
getTopicSinks(List<String> topicNames)
get the Topic Sinks for the given topic name
|
List<? extends TopicSink> |
getTopicSinks(String topicName)
get the Topic Sinks for the given topic name and
all the underlying communication infrastructure type
|
TopicSource |
getTopicSource(Topic.CommInfrastructure commType,
String topicName)
gets the Topic Source for the given topic name and
underlying communication infrastructure type
|
List<? extends TopicSource> |
getTopicSources()
gets all Topic Sources
|
List<? extends TopicSource> |
getTopicSources(List<String> topicNames)
get the Topic Sources for the given topic name
|
UebTopicSink |
getUebTopicSink(String topicName)
get the UEB Topic Source for the given topic name
|
List<UebTopicSink> |
getUebTopicSinks()
gets only the UEB Topic Sinks
|
UebTopicSource |
getUebTopicSource(String topicName)
get the UEB Topic Source for the given topic name
|
List<UebTopicSource> |
getUebTopicSources()
gets only the UEB Topic Sources
|
static final TopicEndpoint manager
List<? extends TopicSource> addTopicSources(Properties properties) throws IllegalArgumentException
properties
- properties for Topic Source constructionIllegalArgumentException
- when invalid arguments are providedList<? extends TopicSink> addTopicSinks(Properties properties) throws IllegalArgumentException
properties
- properties for Topic Sink constructionIllegalArgumentException
- when invalid arguments are providedList<? extends TopicSource> getTopicSources()
List<? extends TopicSource> getTopicSources(List<String> topicNames) throws IllegalStateException, IllegalArgumentException
topicName
- the topic nameIllegalStateException
- if the entity is in an invalid stateIllegalArgumentException
- if invalid parameters are presentTopicSource getTopicSource(Topic.CommInfrastructure commType, String topicName) throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException
commType
- communication infrastructure typetopicName
- the topic nameIllegalStateException
- if the entity is in an invalid state, for
example multiple TopicReaders for a topic name and communication infrastructureIllegalArgumentException
- if invalid parameters are presentUnsupportedOperationException
- if the operation is not supported.UebTopicSource getUebTopicSource(String topicName) throws IllegalStateException, IllegalArgumentException
topicName
- the topic nameIllegalStateException
- if the entity is in an invalid state, for
example multiple TopicReaders for a topic name and communication infrastructureIllegalArgumentException
- if invalid parameters are presentDmaapTopicSource getDmaapTopicSource(String topicName) throws IllegalStateException, IllegalArgumentException
topicName
- the topic nameIllegalStateException
- if the entity is in an invalid state, for
example multiple TopicReaders for a topic name and communication infrastructureIllegalArgumentException
- if invalid parameters are presentList<? extends TopicSink> getTopicSinks(List<String> topicNames) throws IllegalStateException, IllegalArgumentException
topicNames
- the topic namesIllegalStateException
IllegalArgumentException
TopicSink getTopicSink(Topic.CommInfrastructure commType, String topicName) throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException
topicName
- the topic namecommType
- communication infrastructure typeIllegalStateException
- if the entity is in an invalid state, for
example multiple TopicWriters for a topic name and communication infrastructureIllegalArgumentException
- if invalid parameters are presentUnsupportedOperationException
List<? extends TopicSink> getTopicSinks(String topicName) throws IllegalStateException, IllegalArgumentException
topicName
- the topic namecommType
- communication infrastructure typeIllegalStateException
- if the entity is in an invalid state, for
example multiple TopicWriters for a topic name and communication infrastructureIllegalArgumentException
- if invalid parameters are presentUebTopicSink getUebTopicSink(String topicName) throws IllegalStateException, IllegalArgumentException
topicName
- the topic nameIllegalStateException
- if the entity is in an invalid state, for
example multiple TopicReaders for a topic name and communication infrastructureIllegalArgumentException
- if invalid parameters are presentDmaapTopicSink getDmaapTopicSink(String topicName) throws IllegalStateException, IllegalArgumentException
topicName
- the topic nameIllegalStateException
- if the entity is in an invalid state, for
example multiple TopicReaders for a topic name and communication infrastructureIllegalArgumentException
- if invalid parameters are presentList<UebTopicSource> getUebTopicSources()
List<DmaapTopicSource> getDmaapTopicSources()
List<? extends TopicSink> getTopicSinks()
List<UebTopicSink> getUebTopicSinks()
List<DmaapTopicSink> getDmaapTopicSinks()
Copyright © 2018. All rights reserved.