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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classInner class for each Entry in the history.
- 
Field SummaryFields
- 
Method SummaryModifier 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 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 class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.ListaddFirst, 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
- 
writepublic static <T> Message<T> write(Message<T> messageArg, NamedComponent component, MessageBuilderFactory messageBuilderFactory) 
- 
sizepublic int size()- Specified by:
- sizein interface- Collection<Properties>
- Specified by:
- sizein interface- List<Properties>
 
- 
isEmptypublic boolean isEmpty()- Specified by:
- isEmptyin interface- Collection<Properties>
- Specified by:
- isEmptyin interface- List<Properties>
 
- 
contains- Specified by:
- containsin interface- Collection<Properties>
- Specified by:
- containsin interface- List<Properties>
 
- 
containsAll- Specified by:
- containsAllin interface- Collection<Properties>
- Specified by:
- containsAllin interface- List<Properties>
 
- 
get- Specified by:
- getin interface- List<Properties>
 
- 
iterator- Specified by:
- iteratorin interface- Collection<Properties>
- Specified by:
- iteratorin interface- Iterable<Properties>
- Specified by:
- iteratorin interface- List<Properties>
 
- 
listIterator- Specified by:
- listIteratorin interface- List<Properties>
 
- 
listIterator- Specified by:
- listIteratorin interface- List<Properties>
 
- 
subList- Specified by:
- subListin interface- List<Properties>
 
- 
toArray- Specified by:
- toArrayin interface- Collection<Properties>
- Specified by:
- toArrayin interface- List<Properties>
 
- 
toArraypublic <T> T[] toArray(T[] a) - Specified by:
- toArrayin interface- Collection<Properties>
- Specified by:
- toArrayin interface- List<Properties>
 
- 
indexOf- Specified by:
- indexOfin interface- List<Properties>
 
- 
lastIndexOf- Specified by:
- lastIndexOfin interface- List<Properties>
 
- 
clone
- 
equals- Specified by:
- equalsin interface- Collection<Properties>
- Specified by:
- equalsin interface- List<Properties>
- Overrides:
- equalsin class- Object
 
- 
hashCodepublic int hashCode()- Specified by:
- hashCodein interface- Collection<Properties>
- Specified by:
- hashCodein interface- List<Properties>
- Overrides:
- hashCodein class- Object
 
- 
toString
- 
add- Specified by:
- addin interface- Collection<Properties>
- Specified by:
- addin interface- List<Properties>
 
- 
add- Specified by:
- addin interface- List<Properties>
 
- 
addAll- Specified by:
- addAllin interface- Collection<Properties>
- Specified by:
- addAllin interface- List<Properties>
 
- 
addAll- Specified by:
- addAllin interface- List<Properties>
 
- 
set- Specified by:
- setin interface- List<Properties>
 
- 
remove- Specified by:
- removein interface- List<Properties>
 
- 
remove- Specified by:
- removein interface- Collection<Properties>
- Specified by:
- removein interface- List<Properties>
 
- 
removeAll- Specified by:
- removeAllin interface- Collection<Properties>
- Specified by:
- removeAllin interface- List<Properties>
 
- 
retainAll- Specified by:
- retainAllin interface- Collection<Properties>
- Specified by:
- retainAllin interface- List<Properties>
 
- 
clearpublic void clear()- Specified by:
- clearin interface- Collection<Properties>
- Specified by:
- clearin interface- List<Properties>
 
 
-