public void outputMessage(final String text, final int priority) {
   final AntMessage customizedMessage = getCustomizedMessage(text, priority);
   final AntMessage message =
       customizedMessage != null
           ? customizedMessage
           : new AntMessage(MessageType.MESSAGE, priority, text, null, 0, 0);
   updateErrorAndWarningCounters(message.getPriority());
   addCommand(new AddMessageCommand(message));
 }
 AddJavacMessageCommand(AntMessage antMessage, String url) {
   super(antMessage.getPriority());
   myAntMessage = antMessage;
   myUrl = url;
 }
 AddExceptionCommand(AntMessage antMessage) {
   super(antMessage.getPriority());
   myAntMessage = antMessage;
 }
 AddMessageCommand(AntMessage antMessage) {
   super(antMessage.getPriority());
   myAntMessage = antMessage;
 }