| Modifier and Type | Field and Description |
|---|---|
| protected boolean | |
| protected PrintWriter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | handleMessage(IMessage
the IMessage to handle - never null message)Implements org. |
| public void | |
| public boolean | isIgnoring(IMessage.
Implements org. |
| protected String |
| abortOnFailure | back to summary |
|---|---|
| protected boolean abortOnFailure | |
| writer | back to summary |
|---|---|
| protected PrintWriter writer | |
| MessageWriter | back to summary |
|---|---|
| public MessageWriter(PrintWriter writer, boolean abortOnFailure) | |
| dontIgnore | back to summary |
|---|---|
| public void dontIgnore(IMessage. Implements org. No-op | |
| handleMessage | back to summary |
|---|---|
| public boolean handleMessage(IMessage message) throws AbortException Implements org. Handle message by printing and (if abortOnFailure) throwing an AbortException if the messages is a failure or an abort (but not for errors).
| |
| ignore | back to summary |
|---|---|
| public void ignore(IMessage. Implements org. No-op | |
| isIgnoring | back to summary |
|---|---|
| public boolean isIgnoring(IMessage. Implements org. Doc from org. Signal clients whether this will ignore messages of a given type. Clients may use this to avoid constructing or sending certain messages.
| |
| render | back to summary |
|---|---|
protected String render(IMessage message)
| |