Class SVNPropertiesCommand

All Implemented Interfaces:
ISVNPropertyHandler
Direct Known Subclasses:
SVNPropDelCommand, SVNPropEditCommand, SVNPropGetCommand, SVNPropListCommand, SVNPropSetCommand

public abstract class SVNPropertiesCommand extends SVNXMLCommand implements ISVNPropertyHandler
Version:
1.3
  • Field Details

    • myRevisionProperties

      private java.util.Map myRevisionProperties
    • myURLProperties

      private java.util.Map myURLProperties
    • myPathProperties

      private java.util.Map myPathProperties
  • Constructor Details

    • SVNPropertiesCommand

      protected SVNPropertiesCommand(java.lang.String name, java.lang.String[] aliases)
  • Method Details

    • clearCollectedProperties

      protected void clearCollectedProperties()
    • getRevpropURL

      protected SVNURL getRevpropURL(SVNRevision revision, java.util.Collection targets) throws SVNException
      Throws:
      SVNException
    • checkRevPropTarget

      protected java.lang.String checkRevPropTarget(SVNRevision revision, java.util.Collection targets) throws SVNException
      Throws:
      SVNException
    • handleProperty

      public void handleProperty(java.io.File path, SVNPropertyData property) throws SVNException
      Description copied from interface: ISVNPropertyHandler
      Handles local item's properties (located in a Working Copy). Not called for revision properties.
      Specified by:
      handleProperty in interface ISVNPropertyHandler
      Parameters:
      path - an item's path
      property - an item's versioned property
      Throws:
      SVNException
    • handleProperty

      public void handleProperty(SVNURL url, SVNPropertyData property) throws SVNException
      Description copied from interface: ISVNPropertyHandler
      Handles remote item's properies (located in a repository). Not called for revision properties.
      Specified by:
      handleProperty in interface ISVNPropertyHandler
      Parameters:
      url - an item's repository location
      property - an item's versioned property
      Throws:
      SVNException
    • handleProperty

      public void handleProperty(long revision, SVNPropertyData property) throws SVNException
      Description copied from interface: ISVNPropertyHandler
      Handles a revision property. SVNWCClient's methods operating on revision properties call this method to handle properties.
      Specified by:
      handleProperty in interface ISVNPropertyHandler
      Parameters:
      revision - a repository revision which property is to be handled
      property - a revision (unversioned) property
      Throws:
      SVNException
      See Also:
    • getRevisionProperty

      protected SVNPropertyData getRevisionProperty(long revision)
    • getPathProperty

      protected SVNPropertyData getPathProperty(java.io.File path)
    • getURLProperty

      protected SVNPropertyData getURLProperty(SVNURL url)
    • getURLProperties

      protected java.util.Map getURLProperties()
    • getPathProperties

      protected java.util.Map getPathProperties()
    • getRevisionProperties

      protected java.util.Map getRevisionProperties()
    • printProplist

      protected void printProplist(java.util.List<SVNPropertyData> props, boolean omitNewLine)
    • printProperty

      protected void printProperty(SVNPropertyValue value, boolean isPropListLike, boolean omitNewLine)
    • checkBooleanProperty

      protected void checkBooleanProperty(java.lang.String name, SVNPropertyValue value) throws SVNException
      Throws:
      SVNException