public final class ConversationMetadata extends Object
Constructor and Description |
---|
ConversationMetadata(List<ConversationMetadataAttribute> attributes)
Creates a new ConversationMetadata instances.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<ConversationMetadataAttribute> |
getAttribute(String name)
Returns the conversation metadata attribute with the given name.
|
com.google.common.collect.ImmutableList<ConversationMetadataAttribute> |
getAttributes()
Returns all conversation metadata attributes.
|
public ConversationMetadata(List<ConversationMetadataAttribute> attributes)
attributes
- the conversation metadata attributes that make up this conversation metadataIllegalArgumentException
- thrown if more than one conversation metadata attribute has the same namepublic com.google.common.base.Optional<ConversationMetadataAttribute> getAttribute(String name)
name
- the name of the conversation metadata attributepublic com.google.common.collect.ImmutableList<ConversationMetadataAttribute> getAttributes()
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.