Class SvnGetProperties

java.lang.Object
All Implemented Interfaces:
ISvnObjectReceiver<SVNProperties>, ISvnOperationOptionsProvider

public class SvnGetProperties extends SvnReceivingOperation<SVNProperties>
Represents proplist operation. Gets the target's properties or revision properties. If single property has to be read, a caller should use ISvnObjectReceiver to fetch the property value by name. SvnOperation.run() returns SvnWcGeneration of resulting working copy. This method throws SVNException if one of the following is true:
  • propertyName starts with the svn:wc: prefix
  • target is not under version control
Version:
1.7
  • Field Details

    • revisionProperties

      private boolean revisionProperties
    • revisionNumber

      private long revisionNumber
    • inheritedPropertiesReceiver

      private ISvnObjectReceiver<java.util.List<SvnInheritedProperties>> inheritedPropertiesReceiver
  • Constructor Details

  • Method Details

    • ensureArgumentsAreValid

      protected void ensureArgumentsAreValid() throws SVNException
      Overrides:
      ensureArgumentsAreValid in class SvnOperation<SVNProperties>
      Throws:
      SVNException
    • isRevisionProperties

      public boolean isRevisionProperties()
      Gets whether it is revision properties.
      Returns:
      true if it is revision properties, true if it is target's properties
    • setRevisionProperties

      public void setRevisionProperties(boolean revisionProperties)
      Sets whether it is revision properties.
      Parameters:
      revisionProperties - true if it is revision properties, true if it is target's properties
    • getRevisionNumber

      public long getRevisionNumber()
      Sets properties revision number, only for revision properties.
      Returns:
      revision number of properties
    • setRevisionNumber

      public void setRevisionNumber(long revisionNumber)
      Sets properties revision number, only for revision properties.
      Parameters:
      revisionNumber - revision number of properties
    • isChangesWorkingCopy

      public boolean isChangesWorkingCopy()
      Gets whether the operation changes working copy
      Overrides:
      isChangesWorkingCopy in class SvnOperation<SVNProperties>
      Returns:
      true if the operation changes the working copy, otherwise false
    • setTargetInheritedPropertiesReceiver

      public void setTargetInheritedPropertiesReceiver(ISvnObjectReceiver<java.util.List<SvnInheritedProperties>> receiver)
    • getTargetInheritedPropertiesReceiver

      public ISvnObjectReceiver<java.util.List<SvnInheritedProperties>> getTargetInheritedPropertiesReceiver()