Class MessageHistory
java.lang.Object
org.springframework.integration.history.MessageHistory
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<Properties>
,Collection<Properties>
,List<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
Modifier and TypeClassDescriptionstatic class
Inner class for each Entry in the history. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int index, Properties element) boolean
add
(Properties e) boolean
addAll
(int index, Collection<? extends Properties> c) boolean
addAll
(Collection<? extends Properties> c) void
clear()
clone()
boolean
boolean
containsAll
(Collection<?> c) boolean
get
(int index) int
hashCode()
int
boolean
isEmpty()
iterator()
int
listIterator
(int index) static MessageHistory
remove
(int index) boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) set
(int index, Properties element) int
size()
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.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
replaceAll, 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:
size
in interfaceCollection<Properties>
- Specified by:
size
in interfaceList<Properties>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<Properties>
- Specified by:
isEmpty
in interfaceList<Properties>
-
contains
- Specified by:
contains
in interfaceCollection<Properties>
- Specified by:
contains
in interfaceList<Properties>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<Properties>
- Specified by:
containsAll
in interfaceList<Properties>
-
get
- Specified by:
get
in interfaceList<Properties>
-
iterator
- Specified by:
iterator
in interfaceCollection<Properties>
- Specified by:
iterator
in interfaceIterable<Properties>
- Specified by:
iterator
in interfaceList<Properties>
-
listIterator
- Specified by:
listIterator
in interfaceList<Properties>
-
listIterator
- Specified by:
listIterator
in interfaceList<Properties>
-
subList
- Specified by:
subList
in interfaceList<Properties>
-
toArray
- Specified by:
toArray
in interfaceCollection<Properties>
- Specified by:
toArray
in interfaceList<Properties>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArray
in interfaceCollection<Properties>
- Specified by:
toArray
in interfaceList<Properties>
-
indexOf
- Specified by:
indexOf
in interfaceList<Properties>
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<Properties>
-
clone
-
equals
- Specified by:
equals
in interfaceCollection<Properties>
- Specified by:
equals
in interfaceList<Properties>
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<Properties>
- Specified by:
hashCode
in interfaceList<Properties>
- Overrides:
hashCode
in classObject
-
toString
-
add
- Specified by:
add
in interfaceCollection<Properties>
- Specified by:
add
in interfaceList<Properties>
-
add
- Specified by:
add
in interfaceList<Properties>
-
addAll
- Specified by:
addAll
in interfaceCollection<Properties>
- Specified by:
addAll
in interfaceList<Properties>
-
addAll
- Specified by:
addAll
in interfaceList<Properties>
-
set
- Specified by:
set
in interfaceList<Properties>
-
remove
- Specified by:
remove
in interfaceList<Properties>
-
remove
- Specified by:
remove
in interfaceCollection<Properties>
- Specified by:
remove
in interfaceList<Properties>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<Properties>
- Specified by:
removeAll
in interfaceList<Properties>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<Properties>
- Specified by:
retainAll
in interfaceList<Properties>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<Properties>
- Specified by:
clear
in interfaceList<Properties>
-