Class SvnRemoteSetProperty

    • Constructor Detail

    • Method Detail

      • isForce

        public boolean isForce()
        Returns whether to skip validity checking of propertyName and propertyValue.
        Returns:
        force true if validity checking should be skipped, otherwise false
        See Also:
        setForce(boolean)
      • setForce

        public void setForce​(boolean force)
        Sets whether to skip validity checking of propertyName and propertyValue. If force is true, this operation does no validity checking. But if force is false, and propertyName is not a valid property for targets, it throws an exception, either with an error code SVNErrorCode.ILLEGAL_TARGET (if the property is not appropriate for target), or with SVNErrorCode.BAD_MIME_TYPE (if propertyName is "svn:mime-type", but propertyValue is not a valid mime-type).
        Parameters:
        force - true if validity checking should be skipped, otherwise false
      • getPropertyName

        public java.lang.String getPropertyName()
        Gets name of the property.
        Returns:
        name of the property
        See Also:
        setPropertyName(String)
      • setPropertyName

        public void setPropertyName​(java.lang.String propertyName)
        Sets name of the property. If propertyName is an svn-controlled property (i.e. prefixed with "svn:"), then the caller is responsible for ensuring that the value uses LF line-endings.
      • getPropertyValue

        public SVNPropertyValue getPropertyValue()
        Returns the property's value. If propertyValue is null, operation will delete the property.
        Returns:
        value of the property
      • setPropertyValue

        public void setPropertyValue​(SVNPropertyValue propertyValue)
        Sets the property's value. If propertyValue is null, operation will delete the property.
        Parameters:
        propertyValue - value of the property
      • getBaseRevision

        public SVNRevision getBaseRevision()
        Returns operation's revision to change properties against
        Returns:
        base revision of the operation
      • setBaseRevision

        public void setBaseRevision​(SVNRevision baseRevision)
        Sets operation's revision to change properties against
        Parameters:
        baseRevision - base revision of the operation
      • getPropertyReceiver

        public ISvnObjectReceiver<SVNPropertyData> getPropertyReceiver()
        Returns operation's property receiver.
        Returns:
        property receiver of the operation
      • setPropertyReceiver

        public void setPropertyReceiver​(ISvnObjectReceiver<SVNPropertyData> propertyReceiver)
        Sets operation's property receiver.
        Parameters:
        propertyReceiver - property receiver of the operation
      • getOriginalPropertyValue

        public SVNPropertyValue getOriginalPropertyValue()
        Returns property's original value, it was set by caller
        Returns:
        original value of the property
      • setOriginalPropertyValue

        public void setOriginalPropertyValue​(SVNPropertyValue originalPropertyValue)
        Sets property's original value to hold this information for the caller
        Parameters:
        originalPropertyValue - original value of the property
      • isChangesWorkingCopy

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