Class SvnSetChangelist

  • All Implemented Interfaces:
    ISvnOperationOptionsProvider

    public class SvnSetChangelist
    extends SvnOperation<java.lang.Void>
    Represents set changelist operation. Adds/remove each path in targets (recursing to depth as necessary) to changelist. If a path is already a member of another changelist, then removes it from the other changelist and adds it to changelist. (For now, a path cannot belong to two changelists at once.)

    changelists is an array of String changelist names, used as a restrictive filter on items whose changelist assignments are adjusted; that is, doesn't tweak the change set of any item unless it's currently a member of one of those changelists. If changelists is empty (or null), no changelist filtering occurs.

    Note: this metadata is purely a client-side "bookkeeping" convenience, and is entirely managed by the working copy.

    Note: this method does not require repository access.

    Version:
    1.7
    Author:
    TMate Software Ltd.
    • Method Detail

      • getChangelistName

        public java.lang.String getChangelistName()
        Returns the operation's changelist name.
        Returns:
        changelist name of the operation
      • setChangelistName

        public void setChangelistName​(java.lang.String changelistName)
        Sets the operation's changelist name.
        Parameters:
        changelistName - changelist name of the operation
      • isRemove

        public boolean isRemove()
        Returns whether targets should be removed from changelist.
        Returns:
        true if targets should be removed from changelist, if false should be added
      • setRemove

        public void setRemove​(boolean remove)
        Sets whether targets should be removed from changelist.
        Parameters:
        remove - true if targets should be removed from changelist, if false should be added
      • isChangesWorkingCopy

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