public abstract class SVNPropertiesCommand extends SVNXMLCommand implements ISVNPropertyHandler
NULL
Modifier | Constructor and Description |
---|---|
protected |
SVNPropertiesCommand(String name,
String[] aliases) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkBooleanProperty(String name,
SVNPropertyValue value) |
protected String |
checkRevPropTarget(SVNRevision revision,
Collection targets) |
protected void |
clearCollectedProperties() |
protected Map |
getPathProperties() |
protected SVNPropertyData |
getPathProperty(File path) |
protected Map |
getRevisionProperties() |
protected SVNPropertyData |
getRevisionProperty(long revision) |
protected SVNURL |
getRevpropURL(SVNRevision revision,
Collection targets) |
protected Map |
getURLProperties() |
protected SVNPropertyData |
getURLProperty(SVNURL url) |
void |
handleProperty(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(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
protected void clearCollectedProperties()
protected SVNURL getRevpropURL(SVNRevision revision, Collection targets) throws SVNException
SVNException
protected String checkRevPropTarget(SVNRevision revision, Collection targets) throws SVNException
SVNException
public void handleProperty(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(File path)
protected SVNPropertyData getURLProperty(SVNURL url)
protected Map getURLProperties()
protected Map getPathProperties()
protected Map getRevisionProperties()
protected void printProplist(List<SVNPropertyData> props, boolean omitNewLine)
protected void printProperty(SVNPropertyValue value, boolean isPropListLike, boolean omitNewLine)
protected void checkBooleanProperty(String name, SVNPropertyValue value) throws SVNException
SVNException
Copyright © 2023. All rights reserved.