public class Topic extends Object
| Modifier and Type | Method and Description |
|---|---|
TopicName |
createObsoleteTopicName(INameFactory nameFactory)
Create a TopicName for this topic using the given NameFactory.
|
TopicName |
createTopicName(INameFactory nameFactory)
Create a TopicName for this topic using the given NameFactory.
|
String |
getId() |
String |
getObsoleteId() |
String |
getServiceId() |
Topic |
withObsoleteId(String obsoleteId)
Set the obsolete ID for this topic.
|
Topic |
withServiceId(String serviceId)
Set the service ID for the owner of this topic.
|
public Topic(String id)
id - The topicId (simple name)public Topic withObsoleteId(String obsoleteId)
obsoleteId - The obsolete topicId.public Topic withServiceId(String serviceId)
serviceId - The id of the service which owns the topic.public String getId()
public TopicName createTopicName(INameFactory nameFactory)
nameFactory - The name factory to use (which knows the current environment, service etc)public TopicName createObsoleteTopicName(INameFactory nameFactory)
nameFactory - The name factory to use (which knows the current environment, service etc)Copyright © 2018 Symphony Software Foundation. All rights reserved.