Package com.sas.lsaf.query
Class ExtractFileCreateInfo
- java.lang.Object
-
- com.sas.lsaf.content.common.AbstractCreateInfo
-
- com.sas.lsaf.content.common.FileCreateInfo
-
- com.sas.lsaf.query.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 Summary
Constructors Constructor Description ExtractFileCreateInfo(java.lang.String path, SourceLocation location)
Constructor.ExtractFileCreateInfo(java.lang.String path, SourceLocation location, boolean overwrite)
Constructor.ExtractFileCreateInfo(java.lang.String parentPath, java.lang.String name, SourceLocation location)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceLocation
getLocation()
Gets the location of the file: Workspace or Repository.void
setLocation(SourceLocation location)
Sets the location of the file: Workspace or Repository.java.lang.String
toString()
-
Methods inherited from class com.sas.lsaf.content.common.FileCreateInfo
comment, customVersion, description, enableVersioning, enableVersioning, getComment, getCustomVersion, getVersionType, isEnableVersioning, isOverwrite, overwrite, overwrite, setComment, setCustomVersion, setEnableVersioning, setOverwrite, setVersionType, versionType
-
Methods inherited from class com.sas.lsaf.content.common.AbstractCreateInfo
getDescription, getPath, setDescription
-
-
-
-
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 classjava.lang.Object
-
-