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.StringmyAuthorOfInterestprivate SVNDepthmyDepthprivate java.lang.StringmyLogRegularExpressionprivate java.util.LinkedListmyMergeStackprivate SVNPathmyTargetprivate static java.lang.StringSEPARATOR
-
Constructor Summary
Constructors Constructor Description SVNLogCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsRevisionRange()protected java.util.CollectioncreateSupportedOptions()private voiddoDiff(SVNDiffClient client, SVNLogEntry logEntry, SVNPath target, SVNDepth depth)private SVNPathgetParentPath(SVNPath target)voidhandleLogEntry(SVNLogEntry logEntry)Handles a log entry passed.protected voidprintLogEntry(SVNLogEntry logEntry)protected voidprintLogEntryXML(SVNLogEntry logEntry)voidrun()-
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:
acceptsRevisionRangein classSVNCommand
-
createSupportedOptions
protected java.util.Collection createSupportedOptions()
- Specified by:
createSupportedOptionsin classAbstractSVNCommand
-
run
public void run() throws SVNException- Specified by:
runin classAbstractSVNCommand- Throws:
SVNException
-
handleLogEntry
public void handleLogEntry(SVNLogEntry logEntry) throws SVNException
Description copied from interface:ISVNLogEntryHandlerHandles a log entry passed.- Specified by:
handleLogEntryin interfaceISVNLogEntryHandler- Parameters:
logEntry- anSVNLogEntryobject 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
-
-