public class JobPublishSetup extends Object implements Serializable
Constructor and Description |
---|
JobPublishSetup()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addFile(String path)
Adds the path to a file to transfer for use in a published job submission.
|
void |
addFile(String path,
String version)
Adds the path and version of a file to transfer for use in a published job submission.
|
void |
addFolder(String path)
Adds the path to a folder to transfer for use in a published job submission.
|
void |
addFolder(String path,
boolean includeFiles,
boolean includeSubfolders)
Adds the path to a folder to transfer for use in a published job submission and whether to include
subfolders files.
|
List<JobPublishSetupFile> |
getFiles()
Gets the files to transfer for use in a published job submission.
|
List<JobPublishSetupFolder> |
getFolders()
Gets the folders to transfer for use in a published job submission.
|
void |
setFiles(List<JobPublishSetupFile> files)
Sets the files to transfer for use in a published job submission.
|
void |
setFolders(List<JobPublishSetupFolder> folders)
Sets the folders to transfer for use in a published job submission.
|
String |
toString() |
public List<JobPublishSetupFile> getFiles()
public void setFiles(List<JobPublishSetupFile> files)
files
- The files to transfer.public void addFile(String path)
path
- The path to a file.public void addFile(String path, String version)
path
- The path to a file.version
- The version of the file.public List<JobPublishSetupFolder> getFolders()
public void setFolders(List<JobPublishSetupFolder> folders)
folders
- The folders to transfer.public void addFolder(String path)
path
- The path to a folder to transfer.public void addFolder(String path, boolean includeFiles, boolean includeSubfolders)
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.<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>