public class SVNInfoCommand extends SVNXMLCommand implements ISVNInfoHandler
Modifier and Type | Class and Description |
---|---|
private static class |
SVNInfoCommand.SVNInfoItemType |
Modifier and Type | Field and Description |
---|---|
private boolean |
myIsMultipleTargets |
private boolean |
myIsStartNewLine |
private SVNInfoCommand.SVNInfoItemType |
myPrintWhat |
private boolean |
myTargetIsPath |
private static int |
SIM_RANGE_MAX |
Constructor and Description |
---|
SVNInfoCommand() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection |
createSupportedOptions() |
private void |
findPrintWhat(java.lang.String keyword) |
void |
handleInfo(SVNInfo info)
Handles item's information using an SVNInfo object.
|
private java.lang.StringBuffer |
printConflictVersionXML(SVNConflictVersion version,
java.lang.String name,
java.lang.StringBuffer target) |
protected void |
printInfo(SVNInfo info) |
private void |
printInfoItem(SVNInfo info) |
private void |
printInfoItemRevision(SVNRevision revision,
java.lang.String targetPath) |
private void |
printInfoItemString(java.lang.String text,
java.lang.String targetPath) |
protected void |
printInfoXML(SVNInfo info) |
private java.lang.String |
relativeUrl(SVNInfo info) |
void |
run() |
private int |
similarityCheck(java.lang.String key,
java.util.List<java.lang.String> tokens) |
private int |
stringDiff(java.lang.String s1,
java.lang.String s2) |
addXMLProp, closeXMLTag, openCDataTag, openXMLTag, openXMLTag, printXMLFooter, printXMLHeader, printXMLPropHash
acceptsRevisionRange, getFileAmbigousErrorMessage, getGlobalOptions, getMessageAmbigousErrorMessage, getResourceBundleName, getSVNEnvironment, isCommitter
availableCommands, getAliases, getCommand, getDescription, getEnvironment, getName, getSupportedOptions, getValidOptions, init, isAlias, isFailed, isOptionSupported, registerCommand, setFailed
private boolean myIsMultipleTargets
private boolean myIsStartNewLine
private SVNInfoCommand.SVNInfoItemType myPrintWhat
private boolean myTargetIsPath
private static final int SIM_RANGE_MAX
protected java.util.Collection createSupportedOptions()
createSupportedOptions
in class AbstractSVNCommand
public void run() throws SVNException
run
in class AbstractSVNCommand
SVNException
public void handleInfo(SVNInfo info) throws SVNException
ISVNInfoHandler
handleInfo
in interface ISVNInfoHandler
info
- an object that contain's item's information detailsSVNException
protected void printInfo(SVNInfo info)
private void printInfoItem(SVNInfo info) throws SVNException
SVNException
private java.lang.String relativeUrl(SVNInfo info)
private void printInfoItemString(java.lang.String text, java.lang.String targetPath)
private void printInfoItemRevision(SVNRevision revision, java.lang.String targetPath)
protected void printInfoXML(SVNInfo info)
private java.lang.StringBuffer printConflictVersionXML(SVNConflictVersion version, java.lang.String name, java.lang.StringBuffer target)
private void findPrintWhat(java.lang.String keyword) throws SVNException
SVNException
private int similarityCheck(java.lang.String key, java.util.List<java.lang.String> tokens)
private int stringDiff(java.lang.String s1, java.lang.String s2)