public class MessageList extends ArrayList
modCount
Constructor and Description |
---|
MessageList() |
MessageList(Collection c) |
Modifier and Type | Method and Description |
---|---|
boolean |
addAll(Collection c,
boolean discardDuplicates) |
boolean |
containsMessagesOfType(int type) |
Date |
getCreationDate() |
List |
getMessagesForElement(Object element)
Retrieves from the list of messages those elements that produces the specified message code.
|
List |
getMessagesOfType(int type) |
String[] |
getMessagesOfTypeForElement(Object element,
int type)
Method that looks up the messages of the specified type for the specified element, and returns them in a String[].
|
List |
getMessagesWithCode(String messageCode)
Retrieves from the list of messages those elements that produces the specified message code.
|
boolean |
hasErrors() |
void |
keepOnlyMessagesOfType(int type) |
void |
removeMessagesOfType(int type) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
public MessageList()
public MessageList(Collection c)
public Date getCreationDate()
public boolean addAll(Collection c, boolean discardDuplicates)
public List getMessagesWithCode(String messageCode)
messageCode
- The message code.public List getMessagesForElement(Object element)
element
- The process element.public boolean hasErrors()
public boolean containsMessagesOfType(int type)
public void removeMessagesOfType(int type)
public void keepOnlyMessagesOfType(int type)
public List getMessagesOfType(int type)
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.