Interface FilesetChange

All Known Implementing Classes:
FilesetChange.RemoveComment, FilesetChange.RemoveProperty, FilesetChange.RenameFileset, FilesetChange.SetProperty, FilesetChange.UpdateFilesetComment

@Evolving public interface FilesetChange
A fileset change is a change to a fileset. It can be used to rename a fileset, update the comment of a fileset, set a property and value pair for a fileset, or remove a property from a fileset.
  • Method Details

    • rename

      static FilesetChange rename(String newName)
      Creates a new fileset change to rename the fileset.
      Parameters:
      newName - The new name of the fileset.
      Returns:
      The fileset change.
    • updateComment

      static FilesetChange updateComment(String newComment)
      Creates a new fileset change to update the fileset comment.
      Parameters:
      newComment - The new comment for the fileset.
      Returns:
      The fileset change.
    • setProperty

      static FilesetChange setProperty(String property, String value)
      Creates a new fileset change to set the property and value for the fileset.
      Parameters:
      property - The property name to set.
      value - The value to set the property to.
      Returns:
      The fileset change.
    • removeProperty

      static FilesetChange removeProperty(String property)
      Creates a new fileset change to remove a property from the fileset.
      Parameters:
      property - The property name to remove.
      Returns:
      The fileset change.
    • removeComment

      @Deprecated static FilesetChange removeComment()
      Deprecated.
      Use updateComment(String) with null value as the argument instead.
      Creates a new fileset change to remove comment from the fileset.
      Returns:
      The fileset change.