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 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
ConstructorDescriptionDirAwareSVNXMLLogHandler
(ContentHandler contentHandler) DirAwareSVNXMLLogHandler
(ContentHandler contentHandler, SVNLogFilter filter) DirAwareSVNXMLLogHandler
(ContentHandler contentHandler, org.tmatesoft.svn.util.ISVNDebugLog log) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Field Details
-
KIND_ATTR
- See Also:
-
REL_PATH_ATTR
- See Also:
-
-
Constructor Details
-
DirAwareSVNXMLLogHandler
-
DirAwareSVNXMLLogHandler
public DirAwareSVNXMLLogHandler(ContentHandler contentHandler, org.tmatesoft.svn.util.ISVNDebugLog log) -
DirAwareSVNXMLLogHandler
-
-
Method Details
-
setOmitLogMessage
public void setOmitLogMessage(boolean omitLogMessage) Sets whether log messages must be omitted or not.- Overrides:
setOmitLogMessage
in classorg.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 interfaceorg.tmatesoft.svn.core.ISVNLogEntryHandler
- Overrides:
handleLogEntry
in classorg.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler
- Parameters:
logEntry
- log entry- Throws:
org.tmatesoft.svn.core.SVNException
-
sendToHandler
- Throws:
SAXException
-