Package org.tmatesoft.svn.cli.svn
Class SVNLogCommand
- java.lang.Object
-
- org.tmatesoft.svn.cli.AbstractSVNCommand
-
- org.tmatesoft.svn.cli.svn.SVNCommand
-
- org.tmatesoft.svn.cli.svn.SVNXMLCommand
-
- org.tmatesoft.svn.cli.svn.SVNLogCommand
-
- All Implemented Interfaces:
ISVNLogEntryHandler
public class SVNLogCommand extends SVNXMLCommand implements ISVNLogEntryHandler
- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
myAuthorOfInterest
private SVNDepth
myDepth
private java.lang.String
myLogRegularExpression
private java.util.LinkedList
myMergeStack
private SVNPath
myTarget
private static java.lang.String
SEPARATOR
-
Constructor Summary
Constructors Constructor Description SVNLogCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptsRevisionRange()
protected java.util.Collection
createSupportedOptions()
private void
doDiff(SVNDiffClient client, SVNLogEntry logEntry, SVNPath target, SVNDepth depth)
private SVNPath
getParentPath(SVNPath target)
void
handleLogEntry(SVNLogEntry logEntry)
Handles a log entry passed.protected void
printLogEntry(SVNLogEntry logEntry)
protected void
printLogEntryXML(SVNLogEntry logEntry)
void
run()
-
Methods inherited from class org.tmatesoft.svn.cli.svn.SVNXMLCommand
addXMLProp, closeXMLTag, openCDataTag, openXMLTag, openXMLTag, printXMLFooter, printXMLHeader, printXMLPropHash
-
Methods inherited from class org.tmatesoft.svn.cli.svn.SVNCommand
getFileAmbigousErrorMessage, getGlobalOptions, getMessageAmbigousErrorMessage, getResourceBundleName, getSVNEnvironment, isCommitter
-
Methods inherited from class org.tmatesoft.svn.cli.AbstractSVNCommand
availableCommands, getAliases, getCommand, getDescription, getEnvironment, getName, getSupportedOptions, getValidOptions, init, isAlias, isFailed, isOptionSupported, registerCommand, setFailed
-
-
-
-
Field Detail
-
SEPARATOR
private static final java.lang.String SEPARATOR
- See Also:
- Constant Field Values
-
myMergeStack
private java.util.LinkedList myMergeStack
-
myAuthorOfInterest
private java.lang.String myAuthorOfInterest
-
myLogRegularExpression
private java.lang.String myLogRegularExpression
-
myTarget
private SVNPath myTarget
-
myDepth
private SVNDepth myDepth
-
-
Method Detail
-
acceptsRevisionRange
public boolean acceptsRevisionRange()
- Overrides:
acceptsRevisionRange
in classSVNCommand
-
createSupportedOptions
protected java.util.Collection createSupportedOptions()
- Specified by:
createSupportedOptions
in classAbstractSVNCommand
-
run
public void run() throws SVNException
- Specified by:
run
in classAbstractSVNCommand
- Throws:
SVNException
-
handleLogEntry
public void handleLogEntry(SVNLogEntry logEntry) throws SVNException
Description copied from interface:ISVNLogEntryHandler
Handles a log entry passed.- Specified by:
handleLogEntry
in interfaceISVNLogEntryHandler
- Parameters:
logEntry
- anSVNLogEntry
object that represents per revision information (committed paths, log message, etc.)- Throws:
SVNException
-
printLogEntry
protected void printLogEntry(SVNLogEntry logEntry) throws SVNException
- Throws:
SVNException
-
doDiff
private void doDiff(SVNDiffClient client, SVNLogEntry logEntry, SVNPath target, SVNDepth depth) throws SVNException
- Throws:
SVNException
-
printLogEntryXML
protected void printLogEntryXML(SVNLogEntry logEntry) throws SVNException
- Throws:
SVNException
-
-