|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IMessageHolder
Hold and query a collection of messages.
| Field Summary | |
|---|---|
static boolean |
EQUAL
value for orGreater parameter |
static boolean |
ORGREATER
value for orGreater parameter |
| Fields inherited from interface org.aspectj.bridge.IMessageHandler |
|---|
SYSTEM_ERR, SYSTEM_OUT, THROW |
| Method Summary | |
|---|---|
void |
clearMessages()
Clear any messages. |
IMessage[] |
getMessages(IMessage.Kind kind,
boolean orGreater)
Get all messages or those of a specific kind. |
java.util.List<IMessage> |
getUnmodifiableListView()
|
boolean |
hasAnyMessage(IMessage.Kind kind,
boolean orGreater)
Tell whether this holder has any message of this kind (optionally or greater). |
int |
numMessages(IMessage.Kind kind,
boolean orGreater)
Count the messages currently held by this holder. |
| Methods inherited from interface org.aspectj.bridge.IMessageHandler |
|---|
dontIgnore, handleMessage, ignore, isIgnoring |
| Field Detail |
|---|
static final boolean ORGREATER
static final boolean EQUAL
| Method Detail |
|---|
boolean hasAnyMessage(IMessage.Kind kind,
boolean orGreater)
kind - the IMessage.Kind to check for - accept any if nullorGreater - if true, also any greater than the target kind as determined by IMessage.Kind.COMPARATOR
int numMessages(IMessage.Kind kind,
boolean orGreater)
kind - the IMessage.Kind expected, or null for all messagesorGreater - if true, also any greater than the target kind as determined by IMessage.Kind.COMPARATOR
IMessage[] getMessages(IMessage.Kind kind,
boolean orGreater)
kind - the IMessage.Kind expected, or null for all messagesorGreater - if true, also get any greater than the target kind as determined by IMessage.Kind.COMPARATOR
java.util.List<IMessage> getUnmodifiableListView()
void clearMessages()
throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException - if message list is read-only
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||