Class JobPublishSetup

java.lang.Object
com.sas.lsaf.execution.job.JobPublishSetup
All Implemented Interfaces:
Serializable

public class JobPublishSetup extends Object implements Serializable
The class that represents the files and folders to transfer for use in a published job submission.
Since:
2.4
See Also:
  • Constructor Details

    • JobPublishSetup

      public JobPublishSetup()
      Constructor.
  • Method Details

    • getFiles

      public List<JobPublishSetupFile> getFiles()
      Gets the files to transfer for use in a published job submission.
      Returns:
      The files to transfer.
    • setFiles

      public void setFiles(List<JobPublishSetupFile> files)
      Sets the files to transfer for use in a published job submission.
      Parameters:
      files - The files to transfer.
    • addFile

      public void addFile(String path)
      Adds the path to a file to transfer for use in a published job submission.
      Parameters:
      path - The path to a file.
    • addFile

      public void addFile(String path, String version)
      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

      public List<JobPublishSetupFolder> getFolders()
      Gets the folders to transfer for use in a published job submission.
      Returns:
      The folders to transfer.
    • setFolders

      public void setFolders(List<JobPublishSetupFolder> folders)
      Sets the folders to transfer for use in a published job submission.
      Parameters:
      folders - The folders to transfer.
    • addFolder

      public void addFolder(String path)
      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

      public 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. 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

      public String toString()
      Overrides:
      toString in class Object