Package org.frankframework.util
Class MessageKeeper
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector<E>
org.frankframework.util.SizeLimitedVector<MessageKeeperMessage>
org.frankframework.util.MessageKeeper
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<MessageKeeperMessage>
,Collection<MessageKeeperMessage>
,List<MessageKeeperMessage>
,RandomAccess
Keeps a list of
MessageKeeperMessage
s.
- Author:
- Johan Verrips IOS
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Add an error message to theMessageKeeper(int)
and log it as a warningvoid
void
add
(String message, Instant date, MessageKeeper.MessageKeeperLevel level) void
add
(String message, MessageKeeper.MessageKeeperLevel level) void
void
error
(INamedObject namedObject, String msg) getMessage
(int i) Get a message by numbervoid
void
info
(INamedObject namedObject, String msg) void
void
warn
(INamedObject namedObject, String msg) Methods inherited from class org.frankframework.util.SizeLimitedVector
add, getMaxSize, setMaxSize
Methods inherited from class java.util.Vector
add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Constructor Details
-
MessageKeeper
public MessageKeeper() -
MessageKeeper
public MessageKeeper(int maxSize)
-
-
Method Details
-
add
-
add
-
add
-
add
-
getMessage
Get a message by number- See Also:
-
add
Add an error message to theMessageKeeper(int)
and log it as a warning -
info
-
info
-
warn
-
warn
-
error
-
error
-