|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.rproject.ant.AntRMainLoopCallbacks
public class AntRMainLoopCallbacks
REngine callbacks. Only output callbacks are implemented since ant is supposed to be used non interactively
| Field Summary | |
|---|---|
private MessageListener |
listener
The message listener that grabs the messages |
| Constructor Summary | |
|---|---|
AntRMainLoopCallbacks()
|
|
| Method Summary | |
|---|---|
void |
RFlushConsole(REngine eng)
Call the flush method of the associated message listener |
void |
RShowMessage(REngine eng,
java.lang.String text)
Send the message to the message listener |
void |
RWriteConsole(REngine eng,
java.lang.String text,
int oType)
called when R prints output to the console. |
void |
setMessageListener(MessageListener listener)
Set the message listener (typically a instance of RTask) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private MessageListener listener
| Constructor Detail |
|---|
public AntRMainLoopCallbacks()
| Method Detail |
|---|
public void RWriteConsole(REngine eng,
java.lang.String text,
int oType)
RWriteConsole in interface REngineOutputInterfaceeng - calling enginetext - text to display in the consoleoType - output type (0=regular, 1=error/warning)
public void RShowMessage(REngine eng,
java.lang.String text)
RShowMessage in interface REngineOutputInterfaceeng - calling enginetext - text to display in the messagepublic void RFlushConsole(REngine eng)
RFlushConsole in interface REngineOutputInterfaceeng - calling enginepublic void setMessageListener(MessageListener listener)
RTask)
listener - a message listener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||