Save This Page
Home » apache-ant-1.7.1-src » org.apache.tools » ant » listener » [javadoc | source]
org.apache.tools.ant.listener
public class: MailLogger [javadoc | source]
java.lang.Object
   org.apache.tools.ant.DefaultLogger
      org.apache.tools.ant.listener.MailLogger

All Implemented Interfaces:
    BuildLogger

Buffers log messages from DefaultLogger, and sends an e-mail with the results. The following Project properties are used to send the mail. These properties are set using standard Ant property setting mechanisms (<property>, command-line -D, etc). Ant properties can be overridden by specifying the filename of a properties file in the MailLogger.properties.file property . Any properties defined in that file will override Ant properties.
Fields inherited from org.apache.tools.ant.DefaultLogger:
LEFT_COLUMN_SIZE,  out,  err,  msgOutputLevel,  lSep,  emacsMode
Method from org.apache.tools.ant.listener.MailLogger Summary:
buildFinished,   log
Methods from org.apache.tools.ant.DefaultLogger:
buildFinished,   buildStarted,   extractProjectName,   formatTime,   getBuildFailedMessage,   getBuildSuccessfulMessage,   getTimestamp,   log,   messageLogged,   printMessage,   setEmacsMode,   setErrorPrintStream,   setMessageOutputLevel,   setOutputPrintStream,   targetFinished,   targetStarted,   taskFinished,   taskStarted
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tools.ant.listener.MailLogger Detail:
 public  void buildFinished(BuildEvent event) 
    Sends an e-mail with the log results.
 protected  void log(String message) 
    Receives and buffers log messages.