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.MapmyStatusCacheprivate SVNStatusPrintermyStatusPrinterprivate intpropConflictsprivate inttextConflictsprivate inttreeConflicts
-
Constructor Summary
Constructors Constructor Description SVNStatusCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcountConflicts(SVNStatus status)protected java.util.CollectioncreateSupportedOptions()voidhandleStatus(SVNStatus status)Handles WC item's status information using an SVNStatus object.private voidprintConflictStats()protected java.lang.StringBufferprintXMLStatus(SVNStatus status, java.lang.String path)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
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:
createSupportedOptionsin classAbstractSVNCommand
-
run
public void run() throws SVNException- Specified by:
runin classAbstractSVNCommand- Throws:
SVNException
-
handleStatus
public void handleStatus(SVNStatus status) throws SVNException
Description copied from interface:ISVNStatusHandlerHandles WC item's status information using an SVNStatus object.- Specified by:
handleStatusin 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()
-
-