Class MessageHistory
java.lang.Object
org.springframework.integration.history.MessageHistory
- All Implemented Interfaces:
Serializable, Cloneable, Iterable<Properties>, Collection<Properties>, List<Properties>, SequencedCollection<Properties>
public final class MessageHistory
extends Object
implements List<Properties>, Serializable, Cloneable
- Since:
- 2.0
- Author:
- Mark Fisher, Artem Bilan, Gary Russell, Chris Bono
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classInner class for each Entry in the history. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int index, Properties element) booleanadd(Properties e) booleanaddAll(int index, Collection<? extends Properties> c) booleanaddAll(Collection<? extends Properties> c) voidclear()clone()booleanbooleancontainsAll(Collection<?> c) booleanget(int index) inthashCode()intbooleanisEmpty()iterator()intlistIterator(int index) static @Nullable MessageHistoryremove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) set(int index, Properties element) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) toString()static <T> Message<T> write(Message<T> message, NamedComponent component) static <T> Message<T> write(Message<T> messageArg, NamedComponent component, MessageBuilderFactory messageBuilderFactory) Methods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, replaceAll, reversed, sort, spliterator
-
Field Details
-
HEADER_NAME
- See Also:
-
NAME_PROPERTY
- See Also:
-
TYPE_PROPERTY
- See Also:
-
TIMESTAMP_PROPERTY
- See Also:
-
-
Method Details
-
read
-
write
-
write
public static <T> Message<T> write(Message<T> messageArg, NamedComponent component, MessageBuilderFactory messageBuilderFactory) -
size
public int size()- Specified by:
sizein interfaceCollection<Properties>- Specified by:
sizein interfaceList<Properties>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<Properties>- Specified by:
isEmptyin interfaceList<Properties>
-
contains
- Specified by:
containsin interfaceCollection<Properties>- Specified by:
containsin interfaceList<Properties>
-
containsAll
- Specified by:
containsAllin interfaceCollection<Properties>- Specified by:
containsAllin interfaceList<Properties>
-
get
- Specified by:
getin interfaceList<Properties>
-
iterator
- Specified by:
iteratorin interfaceCollection<Properties>- Specified by:
iteratorin interfaceIterable<Properties>- Specified by:
iteratorin interfaceList<Properties>
-
listIterator
- Specified by:
listIteratorin interfaceList<Properties>
-
listIterator
- Specified by:
listIteratorin interfaceList<Properties>
-
subList
- Specified by:
subListin interfaceList<Properties>
-
toArray
- Specified by:
toArrayin interfaceCollection<Properties>- Specified by:
toArrayin interfaceList<Properties>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<Properties>- Specified by:
toArrayin interfaceList<Properties>
-
indexOf
- Specified by:
indexOfin interfaceList<Properties>
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<Properties>
-
clone
-
equals
- Specified by:
equalsin interfaceCollection<Properties>- Specified by:
equalsin interfaceList<Properties>- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<Properties>- Specified by:
hashCodein interfaceList<Properties>- Overrides:
hashCodein classObject
-
toString
-
add
- Specified by:
addin interfaceCollection<Properties>- Specified by:
addin interfaceList<Properties>
-
add
- Specified by:
addin interfaceList<Properties>
-
addAll
- Specified by:
addAllin interfaceCollection<Properties>- Specified by:
addAllin interfaceList<Properties>
-
addAll
- Specified by:
addAllin interfaceList<Properties>
-
set
- Specified by:
setin interfaceList<Properties>
-
remove
- Specified by:
removein interfaceList<Properties>
-
remove
- Specified by:
removein interfaceCollection<Properties>- Specified by:
removein interfaceList<Properties>
-
removeAll
- Specified by:
removeAllin interfaceCollection<Properties>- Specified by:
removeAllin interfaceList<Properties>
-
retainAll
- Specified by:
retainAllin interfaceCollection<Properties>- Specified by:
retainAllin interfaceList<Properties>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<Properties>- Specified by:
clearin interfaceList<Properties>
-