public class GroupedTopicSource extends ActionSource
@GroupTopic.SourceI.ExceptionalConsumer<I,E extends java.lang.Throwable>, SourceI.ExceptionalFunction<I,O,E extends java.lang.Throwable>, SourceI.SourceIHandler<OUT>| Constructor and Description |
|---|
GroupedTopicSource(GroupedTopic topic) |
GroupedTopicSource(java.lang.String name,
java.lang.String group) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getGroup() |
java.lang.String |
getName() |
boolean |
groupSpecified()
Determines whether or not the current group name is a null-like value, and should be changed.
|
void |
overrideGroup(java.lang.String group)
Allow changing the group name here, so the group name can be ultimiately
determined by the connector.
|
java.lang.String |
toString() |
isLogicalSourceaccept, apply, getContextClass, onContextSet, setContextClasspublic GroupedTopicSource(java.lang.String name,
java.lang.String group)
public GroupedTopicSource(GroupedTopic topic)
public java.lang.String getName()
public java.lang.String getGroup()
public boolean groupSpecified()
public void overrideGroup(java.lang.String group)
group - the new group to usepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object