org.apache.maven.cvslib
Class CvsLogListener

java.lang.Object
  extended byorg.netbeans.lib.cvsclient.event.CVSAdapter
      extended byorg.apache.maven.cvslib.CvsLogListener
All Implemented Interfaces:
org.netbeans.lib.cvsclient.event.CVSListener

public class CvsLogListener
extends org.netbeans.lib.cvsclient.event.CVSAdapter

A basic implementation of a CVS listener. It merely saves up into StringBuffers the stdout and stderr printstreams.

Author:
Eric Pugh

Constructor Summary
CvsLogListener()
           
 
Method Summary
 StringBuffer getStdout()
           
 void messageSent(org.netbeans.lib.cvsclient.event.MessageEvent e)
          Called when the server wants to send a message to be displayed to the user.
 
Methods inherited from class org.netbeans.lib.cvsclient.event.CVSAdapter
commandTerminated, fileAdded, fileInfoGenerated, fileRemoved, fileToRemove, fileUpdated, messageSent, moduleExpanded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CvsLogListener

public CvsLogListener()
Method Detail

messageSent

public void messageSent(org.netbeans.lib.cvsclient.event.MessageEvent e)
Called when the server wants to send a message to be displayed to the user. The message is only for information purposes and clients can choose to ignore these messages if they wish.

Parameters:
e - the event

getStdout

public StringBuffer getStdout()
Returns:
Returns the standard output from cvs as a StringBuffer..


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.