Interface Updatable<T>
-
- All Known Implementing Classes:
- AgentAttachment, AgentItem, AgentMessage, AgentOptions, AgentTyping, ChatEvent, ChatMemberEvent, ChatRating, RowItem, VisitorAttachment, VisitorItem, VisitorMessage
public interface Updatable<T>
Interface definition for updating items
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description boolean
canBeCastTo(java.lang.Object item)
Check whether the update item can be cast to the correct typevoid
update(T item)
Update the current item
-
-
-
Method Detail
-
update
void update(T item)
Update the current item- Parameters:
item
- to update with
-
canBeCastTo
boolean canBeCastTo(java.lang.Object item)
Check whether the update item can be cast to the correct type- Parameters:
item
- to update from- Returns:
- true if casting can succeed, false otherwise
-
-