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 String
KIND_ATTR
static String
REL_PATH_ATTR
-
Constructor Summary
Constructors Constructor Description DirAwareSVNXMLLogHandler(ContentHandler contentHandler)
DirAwareSVNXMLLogHandler(ContentHandler contentHandler, SVNLogFilter filter)
DirAwareSVNXMLLogHandler(ContentHandler contentHandler, org.tmatesoft.svn.util.ISVNDebugLog log)
-
Method Summary
All Methods Instance Methods Concrete Methods 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.
-
-
-
Field Detail
-
KIND_ATTR
public static final String KIND_ATTR
- See Also:
- Constant Field Values
-
REL_PATH_ATTR
public static final String REL_PATH_ATTR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DirAwareSVNXMLLogHandler
public DirAwareSVNXMLLogHandler(ContentHandler contentHandler, SVNLogFilter filter)
-
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 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
protected void sendToHandler(org.tmatesoft.svn.core.SVNLogEntry logEntry) throws SAXException
- Throws:
SAXException
-
-