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, printXMLPropHash
acceptsRevisionRange, getFileAmbigousErrorMessage, getGlobalOptions, getMessageAmbigousErrorMessage, getResourceBundleName, getSVNEnvironment, isCommitter
availableCommands, createSupportedOptions, getAliases, getCommand, getDescription, getEnvironment, getName, getSupportedOptions, getValidOptions, init, isAlias, isFailed, isOptionSupported, registerCommand, run, setFailed
private 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
SVNException
protected java.lang.String checkRevPropTarget(SVNRevision revision, java.util.Collection targets) throws SVNException
SVNException
public void handleProperty(java.io.File path, SVNPropertyData property) throws SVNException
ISVNPropertyHandler
handleProperty
in interface ISVNPropertyHandler
path
- an item's pathproperty
- an item's versioned propertySVNException
public void handleProperty(SVNURL url, SVNPropertyData property) throws SVNException
ISVNPropertyHandler
handleProperty
in interface ISVNPropertyHandler
url
- an item's repository locationproperty
- an item's versioned propertySVNException
public void handleProperty(long revision, SVNPropertyData property) throws SVNException
ISVNPropertyHandler
handleProperty
in interface ISVNPropertyHandler
revision
- a repository revision which property
is to be handledproperty
- a revision (unversioned) propertySVNException
SVNWCClient
protected 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