Package com.sas.lsaf.execution.job
Class JobPublishSetup
java.lang.Object
com.sas.lsaf.execution.job.JobPublishSetup
- All Implemented Interfaces:
Serializable
The class that represents the files and folders to transfer for use in a published job submission.
- Since:
- 2.4
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the path to a file to transfer for use in a published job submission.voidAdds the path and version of a file to transfer for use in a published job submission.voidAdds the path to a folder to transfer for use in a published job submission.voidAdds the path to a folder to transfer for use in a published job submission and whether to include subfolders files.getFiles()Gets the files to transfer for use in a published job submission.Gets the folders to transfer for use in a published job submission.voidsetFiles(List<JobPublishSetupFile> files) Sets the files to transfer for use in a published job submission.voidsetFolders(List<JobPublishSetupFolder> folders) Sets the folders to transfer for use in a published job submission.toString()
-
Constructor Details
-
JobPublishSetup
public JobPublishSetup()Constructor.
-
-
Method Details
-
getFiles
Gets the files to transfer for use in a published job submission.- Returns:
- The files to transfer.
-
setFiles
Sets the files to transfer for use in a published job submission.- Parameters:
files- The files to transfer.
-
addFile
Adds the path to a file to transfer for use in a published job submission.- Parameters:
path- The path to a file.
-
addFile
Adds the path and version of a file to transfer for use in a published job submission.- Parameters:
path- The path to a file.version- The version of the file.
-
getFolders
Gets the folders to transfer for use in a published job submission.- Returns:
- The folders to transfer.
-
setFolders
Sets the folders to transfer for use in a published job submission.- Parameters:
folders- The folders to transfer.
-
addFolder
Adds the path to a folder to transfer for use in a published job submission.- Parameters:
path- The path to a folder to transfer.
-
addFolder
Adds the path to a folder to transfer for use in a published job submission and whether to include subfolders files. Both includeSubfolders and includeFiles default to false.- Parameters:
path- The path to a folder to transfer.includeFiles- Indicates whether to transfer files in the specified folder.includeSubfolders- Indicates whether to transfer folders below the specified folder.
-
toString
-