public class CompilationMessageCollector extends java.lang.Object implements java.lang.Iterable<CompilationMessageCollector.Message>
Modifier and Type | Class and Description |
---|---|
static class |
CompilationMessageCollector.Message |
static class |
CompilationMessageCollector.MessageType |
static class |
CompilationMessageCollector.Unknown |
Constructor and Description |
---|
CompilationMessageCollector() |
Modifier and Type | Method and Description |
---|---|
void |
collect(java.lang.String message,
CompilationMessageCollector.MessageType messageType) |
void |
collect(java.lang.String message,
CompilationMessageCollector.MessageType messageType,
java.lang.Enum kind) |
CompilationMessageCollector.Message |
get(int i) |
java.util.Map<java.lang.Enum,java.lang.Long> |
getKindAggregate(CompilationMessageCollector.MessageType messageType) |
boolean |
hasError() |
boolean |
hasMessage() |
protected boolean |
hasMessageType(CompilationMessageCollector.MessageType messageType) |
java.util.Iterator<CompilationMessageCollector.Message> |
iterator() |
static void |
logAggregate(java.util.Map<java.lang.Enum,java.lang.Long> aggMap,
CompilationMessageCollector.MessageType messageType,
org.apache.commons.logging.Log log) |
static void |
logAllMessages(CompilationMessageCollector messageCollector,
org.apache.commons.logging.Log log) |
void |
logAllMessages(org.apache.commons.logging.Log log) |
void |
logMessages(CompilationMessageCollector.MessageType messageType,
boolean aggregate,
org.apache.commons.logging.Log log) |
static void |
logMessages(CompilationMessageCollector messageCollector,
CompilationMessageCollector.MessageType messageType,
boolean aggregate,
org.apache.commons.logging.Log log) |
int |
size() |
public void collect(java.lang.String message, CompilationMessageCollector.MessageType messageType)
public void collect(java.lang.String message, CompilationMessageCollector.MessageType messageType, java.lang.Enum kind)
protected boolean hasMessageType(CompilationMessageCollector.MessageType messageType)
public boolean hasError()
public java.util.Iterator<CompilationMessageCollector.Message> iterator()
iterator
in interface java.lang.Iterable<CompilationMessageCollector.Message>
public boolean hasMessage()
public int size()
public CompilationMessageCollector.Message get(int i)
public java.util.Map<java.lang.Enum,java.lang.Long> getKindAggregate(CompilationMessageCollector.MessageType messageType)
public static void logAggregate(java.util.Map<java.lang.Enum,java.lang.Long> aggMap, CompilationMessageCollector.MessageType messageType, org.apache.commons.logging.Log log)
public static void logMessages(CompilationMessageCollector messageCollector, CompilationMessageCollector.MessageType messageType, boolean aggregate, org.apache.commons.logging.Log log)
public void logMessages(CompilationMessageCollector.MessageType messageType, boolean aggregate, org.apache.commons.logging.Log log)
public static void logAllMessages(CompilationMessageCollector messageCollector, org.apache.commons.logging.Log log)
public void logAllMessages(org.apache.commons.logging.Log log)
Copyright © 2007-2012 The Apache Software Foundation