public final class MessageHistory extends Object implements List<Properties>, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageHistory.Entry
Inner class for each Entry in the history.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
HEADER_NAME |
static String |
NAME_PROPERTY |
static String |
TIMESTAMP_PROPERTY |
static String |
TYPE_PROPERTY |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic static final String HEADER_NAME
public static final String NAME_PROPERTY
public static final String TYPE_PROPERTY
public static final String TIMESTAMP_PROPERTY
public static MessageHistory read(Message<?> message)
public static <T> Message<T> write(Message<T> message, NamedComponent component)
public static <T> Message<T> write(Message<T> messageArg, NamedComponent component, MessageBuilderFactory messageBuilderFactory)
public int size()
size in interface Collection<Properties>size in interface List<Properties>public boolean isEmpty()
isEmpty in interface Collection<Properties>isEmpty in interface List<Properties>public boolean contains(Object o)
contains in interface Collection<Properties>contains in interface List<Properties>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<Properties>containsAll in interface List<Properties>public Properties get(int index)
get in interface List<Properties>public Iterator<Properties> iterator()
iterator in interface Iterable<Properties>iterator in interface Collection<Properties>iterator in interface List<Properties>public ListIterator<Properties> listIterator()
listIterator in interface List<Properties>public ListIterator<Properties> listIterator(int index)
listIterator in interface List<Properties>public List<Properties> subList(int fromIndex, int toIndex)
subList in interface List<Properties>public Object[] toArray()
toArray in interface Collection<Properties>toArray in interface List<Properties>public <T> T[] toArray(T[] a)
toArray in interface Collection<Properties>toArray in interface List<Properties>public int indexOf(Object o)
indexOf in interface List<Properties>public int lastIndexOf(Object o)
lastIndexOf in interface List<Properties>public boolean add(Properties e)
add in interface Collection<Properties>add in interface List<Properties>public void add(int index,
Properties element)
add in interface List<Properties>public boolean addAll(Collection<? extends Properties> c)
addAll in interface Collection<Properties>addAll in interface List<Properties>public boolean addAll(int index,
Collection<? extends Properties> c)
addAll in interface List<Properties>public Properties set(int index, Properties element)
set in interface List<Properties>public Properties remove(int index)
remove in interface List<Properties>public boolean remove(Object o)
remove in interface Collection<Properties>remove in interface List<Properties>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<Properties>removeAll in interface List<Properties>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<Properties>retainAll in interface List<Properties>public void clear()
clear in interface Collection<Properties>clear in interface List<Properties>