Package hudson.scm

Class 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
    • Constructor Detail

      • DirAwareSVNXMLLogHandler

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

        public DirAwareSVNXMLLogHandler​(ContentHandler contentHandler)
    • Method Detail

      • 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