Class ExtractFileCreateInfo

  • All Implemented Interfaces:
    java.io.Serializable

    public class ExtractFileCreateInfo
    extends FileCreateInfo
    This class represents all of the properties and attributes that can be set on a file during query file creation.
    Since:
    2.3
    See Also:
    Serialized Form
    • Constructor Detail

      • ExtractFileCreateInfo

        public ExtractFileCreateInfo​(java.lang.String parentPath,
                                     java.lang.String name,
                                     SourceLocation location)
        Constructor.
        Parameters:
        parentPath - The path to the location of the parent container.
        name - The name of the file.
        location - The location of the file: Workspace or Repository.
      • ExtractFileCreateInfo

        public ExtractFileCreateInfo​(java.lang.String path,
                                     SourceLocation location)
        Constructor.
        Parameters:
        path - The full path of the file.
        location - The location of the file: Workspace or Repository.
      • ExtractFileCreateInfo

        public ExtractFileCreateInfo​(java.lang.String path,
                                     SourceLocation location,
                                     boolean overwrite)
        Constructor.
        Parameters:
        path - The full path of the file.
        location - The location of the file: Workspace or Repository.
        overwrite - Indicates whether to overwrite an existing file that is not versioned.
    • Method Detail

      • getLocation

        public SourceLocation getLocation()
        Gets the location of the file: Workspace or Repository.
        Returns:
        The location of the file: Workspace or Repository.
      • setLocation

        public void setLocation​(SourceLocation location)
        Sets the location of the file: Workspace or Repository.
        Parameters:
        location - The location of the file: Workspace or Repository.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object