Package hudson.scm

Class DirAwareSVNXMLLogHandler

java.lang.Object
org.tmatesoft.svn.core.wc.xml.AbstractXMLHandler
org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler
hudson.scm.DirAwareSVNXMLLogHandler
All Implemented Interfaces:
org.tmatesoft.svn.core.ISVNLogEntryHandler, Locator

public class DirAwareSVNXMLLogHandler extends org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler implements org.tmatesoft.svn.core.ISVNLogEntryHandler
Special XML Log Handler that includes the "kind" attribute for path nodes which are ommited by the original. This is a lot of copy paste code
Author:
qxa4177
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    Fields inherited from class org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler

    ACTION_ATTR, AUTHOR_TAG, COPYFROM_PATH_ATTR, COPYFROM_REV_ATTR, DATE_TAG, LOG_TAG, LOGENTRY_TAG, MSG_TAG, PATH_TAG, PATHS_TAG, REVISION_ATTR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
    DirAwareSVNXMLLogHandler(ContentHandler contentHandler, org.tmatesoft.svn.util.ISVNDebugLog log)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleLogEntry(org.tmatesoft.svn.core.SVNLogEntry logEntry)
    Handles a next log entry producing corresponding xml.
    protected void
    sendToHandler(org.tmatesoft.svn.core.SVNLogEntry logEntry)
     
    void
    setOmitLogMessage(boolean omitLogMessage)
    Sets whether log messages must be omitted or not.

    Methods inherited from class org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler

    getHeaderName

    Methods inherited from class org.tmatesoft.svn.core.wc.xml.AbstractXMLHandler

    addAttribute, addTag, closeTag, endDocument, getColumnNumber, getDebugLog, getLineNumber, getPublicId, getSystemId, openTag, startDocument

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • DirAwareSVNXMLLogHandler

      public DirAwareSVNXMLLogHandler(ContentHandler contentHandler, SVNLogFilter filter)
    • DirAwareSVNXMLLogHandler

      public DirAwareSVNXMLLogHandler(ContentHandler contentHandler, org.tmatesoft.svn.util.ISVNDebugLog log)
    • DirAwareSVNXMLLogHandler

      public DirAwareSVNXMLLogHandler(ContentHandler contentHandler)
  • Method Details

    • setOmitLogMessage

      public void setOmitLogMessage(boolean omitLogMessage)
      Sets whether log messages must be omitted or not.
      Overrides:
      setOmitLogMessage in class org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler
      Parameters:
      omitLogMessage - true to omit; otherwise false
    • handleLogEntry

      public void handleLogEntry(org.tmatesoft.svn.core.SVNLogEntry logEntry) throws org.tmatesoft.svn.core.SVNException
      Handles a next log entry producing corresponding xml.
      Specified by:
      handleLogEntry in interface org.tmatesoft.svn.core.ISVNLogEntryHandler
      Overrides:
      handleLogEntry in class org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler
      Parameters:
      logEntry - log entry
      Throws:
      org.tmatesoft.svn.core.SVNException
    • sendToHandler

      protected void sendToHandler(org.tmatesoft.svn.core.SVNLogEntry logEntry) throws SAXException
      Throws:
      SAXException