public static class SimpleMessage.Generator<D> extends SingleSender<SimpleMessage<D>>
SimpleMessages and
      sending them immediately, --- all in one call. SimpleMessage can be sent to the target of this
      SingleSender by the propagate(SimpleMessage) methode.receiver| Constructor and Description | 
|---|
| Generator()After calling this constructor, a call to  SingleSender.setReceiver(MessageReceiver)is necessary before you can use any of the "create and send" methods. | 
| Generator(MessageReceiver<? super SimpleMessage<D>> rec) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | error(Exception ex,
     Location<D> location,
     String message)Create a message of the indicated kind, with the given attributes, and send
        it to the current target. | 
| void | error(Location<D> location,
     String message)Create a message of the indicated kind, with the given attributes, and send
        it to the current target. | 
| void | error(String message)Create a message of the indicated kind, with the given attributes, and send
        it to the current target. | 
| void | failure(Exception exception)Create a message of the indicated kind, with the given attributes, and send
        it to the current target. | 
| void | failure(Location<D> location,
       String message)Create a message of the indicated kind, with the given attributes, and send
        it to the current target. | 
| void | failure(String message)Create a message of the indicated kind, with the given attributes, and send
        it to the current target. | 
| void | hint(Location<D> location,
    String message)Create a message of the indicated kind, with the given attributes, and send
        it to the current target. | 
| void | hint(String message)Create a message of the indicated kind, with the given attributes, and send
        it to the current target. | 
| void | log(String message)Create a message of the indicated kind, with the given attributes, and send
        it to the current target. | 
| void | logEnd(String message)Create a message of the indicated kind, with the given attributes, and send
        it to the current target. | 
| void | logStart(String message)Create a message of the indicated kind, with the given attributes, and send
        it to the current target. | 
| void | propagate(SimpleMessage<D> message)Send the  messegeto the current target. | 
| void | warning(Location<D> location,
       String message)Create a message of the indicated kind, with the given attributes, and send
        it to the current target. | 
| void | warning(String message)Create a message of the indicated kind, with the given attributes, and send
        it to the current target. | 
getReceiver, send, setReceiverpublic Generator()
SingleSender.setReceiver(MessageReceiver)
      is necessary before you can use any of the "create and send" methods.
      Otherwise code will crash intentionally.
      Cf the documentation of
      the super constructor.public Generator(MessageReceiver<? super SimpleMessage<D>> rec)
public void propagate(SimpleMessage<D> message)
messege to the current target.public void log(String message)
public void logStart(String message)
public void logEnd(String message)
public void hint(String message)
public void hint(Location<D> location, String message)
public void warning(String message)
public void warning(Location<D> location, String message)
public void error(String message)
public void error(Location<D> location, String message)
public void error(Exception ex, Location<D> location, String message)
public void failure(Exception exception)
public void failure(String message)
see also the complete user documentation .