Package org.tmatesoft.svn.cli.svn
Class SVNStatusCommand
- 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.SVNStatusCommand
-
- All Implemented Interfaces:
ISVNStatusHandler
public class SVNStatusCommand extends SVNXMLCommand implements ISVNStatusHandler
- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map
myStatusCache
private SVNStatusPrinter
myStatusPrinter
private int
propConflicts
private int
textConflicts
private int
treeConflicts
-
Constructor Summary
Constructors Constructor Description SVNStatusCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
countConflicts(SVNStatus status)
protected java.util.Collection
createSupportedOptions()
void
handleStatus(SVNStatus status)
Handles WC item's status information using an SVNStatus object.private void
printConflictStats()
protected java.lang.StringBuffer
printXMLStatus(SVNStatus status, java.lang.String path)
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
acceptsRevisionRange, 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
-
myStatusPrinter
private SVNStatusPrinter myStatusPrinter
-
myStatusCache
private java.util.Map myStatusCache
-
textConflicts
private int textConflicts
-
propConflicts
private int propConflicts
-
treeConflicts
private int treeConflicts
-
-
Method Detail
-
createSupportedOptions
protected java.util.Collection createSupportedOptions()
- Specified by:
createSupportedOptions
in classAbstractSVNCommand
-
run
public void run() throws SVNException
- Specified by:
run
in classAbstractSVNCommand
- Throws:
SVNException
-
handleStatus
public void handleStatus(SVNStatus status) throws SVNException
Description copied from interface:ISVNStatusHandler
Handles WC item's status information using an SVNStatus object.- Specified by:
handleStatus
in interfaceISVNStatusHandler
- Parameters:
status
- an object that contains per item status information- Throws:
SVNException
-
countConflicts
private void countConflicts(SVNStatus status) throws SVNException
- Throws:
SVNException
-
printXMLStatus
protected java.lang.StringBuffer printXMLStatus(SVNStatus status, java.lang.String path)
-
printConflictStats
private void printConflictStats()
-
-