コード例 #1
0
 public void outputException(String exception) {
   updateErrorAndWarningCounters(PRIORITY_ERR);
   AntMessage message = createErrorMessage(MessageType.ERROR, 0, exception);
   addCommand(new AddExceptionCommand(message));
   WolfTheProblemSolver wolf = WolfTheProblemSolver.getInstance(myProject);
   wolf.queue(message.getFile());
 }
コード例 #2
0
 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));
 }
コード例 #3
0
 public void outputError(String error, int priority) {
   // updateErrorAndWarningCounters(priority);
   AntMessage message = createErrorMessage(MessageType.ERROR, priority, error);
   addMessage(
       MessageType.ERROR,
       priority,
       error,
       message.getFile(),
       message.getLine(),
       message.getColumn());
   WolfTheProblemSolver wolf = WolfTheProblemSolver.getInstance(myProject);
   wolf.queue(message.getFile());
 }
コード例 #4
0
 AddJavacMessageCommand(AntMessage antMessage, String url) {
   super(antMessage.getPriority());
   myAntMessage = antMessage;
   myUrl = url;
 }
コード例 #5
0
 AddExceptionCommand(AntMessage antMessage) {
   super(antMessage.getPriority());
   myAntMessage = antMessage;
 }
コード例 #6
0
 AddMessageCommand(AntMessage antMessage) {
   super(antMessage.getPriority());
   myAntMessage = antMessage;
 }