public abstract class SVNPropertiesCommand extends SVNXMLCommand implements ISVNPropertyHandler
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map |
myPathProperties |
private java.util.Map |
myRevisionProperties |
private java.util.Map |
myURLProperties |
NULL| Modifier | Constructor and Description |
|---|---|
protected |
SVNPropertiesCommand(java.lang.String name,
java.lang.String[] aliases) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkBooleanProperty(java.lang.String name,
SVNPropertyValue value) |
protected java.lang.String |
checkRevPropTarget(SVNRevision revision,
java.util.Collection targets) |
protected void |
clearCollectedProperties() |
protected java.util.Map |
getPathProperties() |
protected SVNPropertyData |
getPathProperty(java.io.File path) |
protected java.util.Map |
getRevisionProperties() |
protected SVNPropertyData |
getRevisionProperty(long revision) |
protected SVNURL |
getRevpropURL(SVNRevision revision,
java.util.Collection targets) |
protected java.util.Map |
getURLProperties() |
protected SVNPropertyData |
getURLProperty(SVNURL url) |
void |
handleProperty(java.io.File path,
SVNPropertyData property)
Handles local item's properties (located in a Working Copy).
|
void |
handleProperty(long revision,
SVNPropertyData property)
Handles a revision property.
|
void |
handleProperty(SVNURL url,
SVNPropertyData property)
Handles remote item's properies (located in a repository).
|
protected void |
printProperty(SVNPropertyValue value,
boolean isPropListLike,
boolean omitNewLine) |
protected void |
printProplist(java.util.List<SVNPropertyData> props,
boolean omitNewLine) |
addXMLProp, closeXMLTag, openCDataTag, openXMLTag, openXMLTag, printXMLFooter, printXMLHeader, printXMLPropHashacceptsRevisionRange, getFileAmbigousErrorMessage, getGlobalOptions, getMessageAmbigousErrorMessage, getResourceBundleName, getSVNEnvironment, isCommitteravailableCommands, createSupportedOptions, getAliases, getCommand, getDescription, getEnvironment, getName, getSupportedOptions, getValidOptions, init, isAlias, isFailed, isOptionSupported, registerCommand, run, setFailedprivate java.util.Map myRevisionProperties
private java.util.Map myURLProperties
private java.util.Map myPathProperties
protected SVNPropertiesCommand(java.lang.String name,
java.lang.String[] aliases)
protected void clearCollectedProperties()
protected SVNURL getRevpropURL(SVNRevision revision, java.util.Collection targets) throws SVNException
SVNExceptionprotected java.lang.String checkRevPropTarget(SVNRevision revision, java.util.Collection targets) throws SVNException
SVNExceptionpublic void handleProperty(java.io.File path,
SVNPropertyData property)
throws SVNException
ISVNPropertyHandlerhandleProperty in interface ISVNPropertyHandlerpath - an item's pathproperty - an item's versioned propertySVNExceptionpublic void handleProperty(SVNURL url, SVNPropertyData property) throws SVNException
ISVNPropertyHandlerhandleProperty in interface ISVNPropertyHandlerurl - an item's repository locationproperty - an item's versioned propertySVNExceptionpublic void handleProperty(long revision,
SVNPropertyData property)
throws SVNException
ISVNPropertyHandlerhandleProperty in interface ISVNPropertyHandlerrevision - a repository revision which property
is to be handledproperty - a revision (unversioned) propertySVNExceptionSVNWCClientprotected SVNPropertyData getRevisionProperty(long revision)
protected SVNPropertyData getPathProperty(java.io.File path)
protected SVNPropertyData getURLProperty(SVNURL url)
protected java.util.Map getURLProperties()
protected java.util.Map getPathProperties()
protected java.util.Map getRevisionProperties()
protected void printProplist(java.util.List<SVNPropertyData> props, boolean omitNewLine)
protected void printProperty(SVNPropertyValue value, boolean isPropListLike, boolean omitNewLine)
protected void checkBooleanProperty(java.lang.String name,
SVNPropertyValue value)
throws SVNException
SVNException