public class DefaultChannelTopic extends Object implements Channel.Topic
| Constructor and Description |
|---|
DefaultChannelTopic(@Nullable Instant time,
@Nullable String topic,
@Nullable Actor setter)
Constructs the topic snapshot.
|
| Modifier and Type | Method and Description |
|---|---|
@NonNull Optional<Actor> |
getSetter()
Gets who set the channel topic.
|
@NonNull Optional<Instant> |
getTime()
Gets the time the topic was set.
|
@NonNull Optional<String> |
getValue()
Gets the channel topic.
|
@NonNull String |
toString() |
public @NonNull Optional<Actor> getSetter()
Channel.TopicgetSetter in interface Channel.Topicpublic @NonNull Optional<Instant> getTime()
Channel.TopicgetTime in interface Channel.Topicpublic @NonNull Optional<String> getValue()
Channel.TopicgetValue in interface Channel.TopicCopyright © 2013–2021 Kitteh. All rights reserved.