org.springframework.integration.history
Class MessageHistory
java.lang.Object
org.springframework.integration.history.MessageHistory
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable<java.util.Properties>, java.util.Collection<java.util.Properties>, java.util.List<java.util.Properties>
public class MessageHistory
- extends java.lang.Object
- implements java.util.List<java.util.Properties>, java.io.Serializable
- Since:
- 2.0
- Author:
- Mark Fisher
- See Also:
- Serialized Form
Method Summary |
void |
add(int index,
java.util.Properties element)
|
boolean |
add(java.util.Properties e)
|
boolean |
addAll(java.util.Collection<? extends java.util.Properties> c)
|
boolean |
addAll(int index,
java.util.Collection<? extends java.util.Properties> c)
|
void |
clear()
|
boolean |
contains(java.lang.Object o)
|
boolean |
containsAll(java.util.Collection<?> c)
|
java.util.Properties |
get(int index)
|
int |
indexOf(java.lang.Object o)
|
boolean |
isEmpty()
|
java.util.Iterator<java.util.Properties> |
iterator()
|
int |
lastIndexOf(java.lang.Object o)
|
java.util.ListIterator<java.util.Properties> |
listIterator()
|
java.util.ListIterator<java.util.Properties> |
listIterator(int index)
|
static MessageHistory |
read(Message<?> message)
|
java.util.Properties |
remove(int index)
|
boolean |
remove(java.lang.Object o)
|
boolean |
removeAll(java.util.Collection<?> c)
|
boolean |
retainAll(java.util.Collection<?> c)
|
java.util.Properties |
set(int index,
java.util.Properties element)
|
int |
size()
|
java.util.List<java.util.Properties> |
subList(int fromIndex,
int toIndex)
|
java.lang.Object[] |
toArray()
|
|
toArray(T[] a)
|
java.lang.String |
toString()
|
static
|
write(Message<T> message,
NamedComponent component)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
equals, hashCode |
HEADER_NAME
public static final java.lang.String HEADER_NAME
- See Also:
- Constant Field Values
NAME_PROPERTY
public static final java.lang.String NAME_PROPERTY
- See Also:
- Constant Field Values
TYPE_PROPERTY
public static final java.lang.String TYPE_PROPERTY
- See Also:
- Constant Field Values
TIMESTAMP_PROPERTY
public static final java.lang.String TIMESTAMP_PROPERTY
- See Also:
- Constant Field Values
read
public static MessageHistory read(Message<?> message)
write
public static <T> Message<T> write(Message<T> message,
NamedComponent component)
size
public int size()
- Specified by:
size
in interface java.util.Collection<java.util.Properties>
- Specified by:
size
in interface java.util.List<java.util.Properties>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Collection<java.util.Properties>
- Specified by:
isEmpty
in interface java.util.List<java.util.Properties>
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interface java.util.Collection<java.util.Properties>
- Specified by:
contains
in interface java.util.List<java.util.Properties>
containsAll
public boolean containsAll(java.util.Collection<?> c)
- Specified by:
containsAll
in interface java.util.Collection<java.util.Properties>
- Specified by:
containsAll
in interface java.util.List<java.util.Properties>
get
public java.util.Properties get(int index)
- Specified by:
get
in interface java.util.List<java.util.Properties>
iterator
public java.util.Iterator<java.util.Properties> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<java.util.Properties>
- Specified by:
iterator
in interface java.util.Collection<java.util.Properties>
- Specified by:
iterator
in interface java.util.List<java.util.Properties>
listIterator
public java.util.ListIterator<java.util.Properties> listIterator()
- Specified by:
listIterator
in interface java.util.List<java.util.Properties>
listIterator
public java.util.ListIterator<java.util.Properties> listIterator(int index)
- Specified by:
listIterator
in interface java.util.List<java.util.Properties>
subList
public java.util.List<java.util.Properties> subList(int fromIndex,
int toIndex)
- Specified by:
subList
in interface java.util.List<java.util.Properties>
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray
in interface java.util.Collection<java.util.Properties>
- Specified by:
toArray
in interface java.util.List<java.util.Properties>
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArray
in interface java.util.Collection<java.util.Properties>
- Specified by:
toArray
in interface java.util.List<java.util.Properties>
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOf
in interface java.util.List<java.util.Properties>
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOf
in interface java.util.List<java.util.Properties>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
add
public boolean add(java.util.Properties e)
- Specified by:
add
in interface java.util.Collection<java.util.Properties>
- Specified by:
add
in interface java.util.List<java.util.Properties>
add
public void add(int index,
java.util.Properties element)
- Specified by:
add
in interface java.util.List<java.util.Properties>
addAll
public boolean addAll(java.util.Collection<? extends java.util.Properties> c)
- Specified by:
addAll
in interface java.util.Collection<java.util.Properties>
- Specified by:
addAll
in interface java.util.List<java.util.Properties>
addAll
public boolean addAll(int index,
java.util.Collection<? extends java.util.Properties> c)
- Specified by:
addAll
in interface java.util.List<java.util.Properties>
set
public java.util.Properties set(int index,
java.util.Properties element)
- Specified by:
set
in interface java.util.List<java.util.Properties>
remove
public java.util.Properties remove(int index)
- Specified by:
remove
in interface java.util.List<java.util.Properties>
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Collection<java.util.Properties>
- Specified by:
remove
in interface java.util.List<java.util.Properties>
removeAll
public boolean removeAll(java.util.Collection<?> c)
- Specified by:
removeAll
in interface java.util.Collection<java.util.Properties>
- Specified by:
removeAll
in interface java.util.List<java.util.Properties>
retainAll
public boolean retainAll(java.util.Collection<?> c)
- Specified by:
retainAll
in interface java.util.Collection<java.util.Properties>
- Specified by:
retainAll
in interface java.util.List<java.util.Properties>
clear
public void clear()
- Specified by:
clear
in interface java.util.Collection<java.util.Properties>
- Specified by:
clear
in interface java.util.List<java.util.Properties>