[Java] Class SimpleMessage
- org.codehaus.groovy.control.messages.SimpleMessage
A base class for compilation messages.
Field Summary
| Modifiers | Name | Description |
|---|---|---|
protected Object | data | |
protected String | message | |
protected ProcessingUnit | owner |
Constructor Summary
| Constructor and description |
|---|
SimpleMessage
(String message, ProcessingUnit source) |
SimpleMessage
(String message, Object data, ProcessingUnit source) |
Methods Summary
| Type Params | Return Type | Name and description |
|---|---|---|
String |
getMessage() | |
void |
write(PrintWriter writer, Janitor janitor) |
Inherited Methods Summary
| Methods inherited from class | Name |
|---|---|
class Message | create, create, create, write, write |
Field Detail
protected Object data
protected String message
protected ProcessingUnit owner
Constructor Detail
public SimpleMessage(String message, ProcessingUnit source)
public SimpleMessage(String message, Object data, ProcessingUnit source)
Method Detail
public String getMessage()
public void write(PrintWriter writer, Janitor janitor)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/control/messages/SimpleMessage.html