Class ExportFileCreateInfo

  • All Implemented Interfaces:
    java.io.Serializable

    public class ExportFileCreateInfo
    extends FileCreateInfo
    This class represents the properties that can be set for a file when it is exported.
    Since:
    2.2
    See Also:
    Serialized Form
    • Constructor Detail

      • ExportFileCreateInfo

        public ExportFileCreateInfo​(java.lang.String parentPath,
                                    java.lang.String name,
                                    SourceLocation location)
        Constructor.
        Parameters:
        parentPath - The parent path in which to create the file.
        name - The name of the file to create.
        location - The location of the file: the repository or the workspace.
      • ExportFileCreateInfo

        public ExportFileCreateInfo​(java.lang.String path,
                                    SourceLocation location)
        Constructor.
        Parameters:
        path - The path defining where to create the file.
        location - The location of the file: the repository or the workspace.
    • Method Detail

      • getLocation

        public SourceLocation getLocation()
        Gets the location of the file: the repository or the workspace.
        Returns:
        The location of the file: the repository or the workspace.
      • toString

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