Class SimpleMessage
- java.lang.Object
-
- org.codehaus.groovy.control.messages.Message
-
- org.codehaus.groovy.control.messages.SimpleMessage
-
- Direct Known Subclasses:
LocatedMessage
public class SimpleMessage extends Message
A base class for compilation messages.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
data
protected java.lang.String
message
protected ProcessingUnit
owner
-
Constructor Summary
Constructors Constructor Description SimpleMessage(java.lang.String message, java.lang.Object data, ProcessingUnit source)
SimpleMessage(java.lang.String message, ProcessingUnit source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
void
write(java.io.PrintWriter writer, Janitor janitor)
Writes the message to the specified PrintWriter.
-
-
-
Field Detail
-
message
protected java.lang.String message
-
data
protected java.lang.Object data
-
owner
protected ProcessingUnit owner
-
-
Constructor Detail
-
SimpleMessage
public SimpleMessage(java.lang.String message, ProcessingUnit source)
-
SimpleMessage
public SimpleMessage(java.lang.String message, java.lang.Object data, ProcessingUnit source)
-
-