Package org.tmatesoft.svn.cli.svn
Class SVNPropertiesCommand
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.SVNPropertiesCommand
- All Implemented Interfaces:
ISVNPropertyHandler
- Direct Known Subclasses:
SVNPropDelCommand,SVNPropEditCommand,SVNPropGetCommand,SVNPropListCommand,SVNPropSetCommand
- Version:
- 1.3
-
Field Summary
FieldsFields inherited from interface org.tmatesoft.svn.core.wc.ISVNPropertyHandler
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckBooleanProperty(String name, SVNPropertyValue value) protected StringcheckRevPropTarget(SVNRevision revision, Collection targets) protected voidprotected Mapprotected SVNPropertyDatagetPathProperty(File path) protected Mapprotected SVNPropertyDatagetRevisionProperty(long revision) protected SVNURLgetRevpropURL(SVNRevision revision, Collection targets) protected Mapprotected SVNPropertyDatagetURLProperty(SVNURL url) voidhandleProperty(long revision, SVNPropertyData property) Handles a revision property.voidhandleProperty(File path, SVNPropertyData property) Handles local item's properties (located in a Working Copy).voidhandleProperty(SVNURL url, SVNPropertyData property) Handles remote item's properies (located in a repository).protected voidprintProperty(SVNPropertyValue value, boolean isPropListLike, boolean omitNewLine) protected voidprintProplist(List<SVNPropertyData> props, boolean omitNewLine) Methods inherited from class org.tmatesoft.svn.cli.svn.SVNXMLCommand
addXMLProp, closeXMLTag, openCDataTag, openXMLTag, openXMLTag, printXMLFooter, printXMLHeader, printXMLPropHashMethods inherited from class org.tmatesoft.svn.cli.svn.SVNCommand
acceptsRevisionRange, getFileAmbigousErrorMessage, getGlobalOptions, getMessageAmbigousErrorMessage, getResourceBundleName, getSVNEnvironment, isCommitterMethods inherited from class org.tmatesoft.svn.cli.AbstractSVNCommand
availableCommands, createSupportedOptions, getAliases, getCommand, getDescription, getEnvironment, getName, getSupportedOptions, getValidOptions, init, isAlias, isFailed, isOptionSupported, registerCommand, run, setFailed
-
Field Details
-
myRevisionProperties
-
myURLProperties
-
myPathProperties
-
-
Constructor Details
-
SVNPropertiesCommand
-
-
Method Details
-
clearCollectedProperties
protected void clearCollectedProperties() -
getRevpropURL
- Throws:
SVNException
-
checkRevPropTarget
- Throws:
SVNException
-
handleProperty
Description copied from interface:ISVNPropertyHandlerHandles local item's properties (located in a Working Copy). Not called for revision properties.- Specified by:
handlePropertyin interfaceISVNPropertyHandler- Parameters:
path- an item's pathproperty- an item's versioned property- Throws:
SVNException
-
handleProperty
Description copied from interface:ISVNPropertyHandlerHandles remote item's properies (located in a repository). Not called for revision properties.- Specified by:
handlePropertyin interfaceISVNPropertyHandler- Parameters:
url- an item's repository locationproperty- an item's versioned property- Throws:
SVNException
-
handleProperty
Description copied from interface:ISVNPropertyHandlerHandles a revision property. SVNWCClient's methods operating on revision properties call this method to handle properties.- Specified by:
handlePropertyin interfaceISVNPropertyHandler- Parameters:
revision- a repository revision whichpropertyis to be handledproperty- a revision (unversioned) property- Throws:
SVNException- See Also:
-
getRevisionProperty
-
getPathProperty
-
getURLProperty
-
getURLProperties
-
getPathProperties
-
getRevisionProperties
-
printProplist
-
printProperty
-
checkBooleanProperty
- Throws:
SVNException
-