Class JobPublishSetupFile

  • All Implemented Interfaces:
    java.io.Serializable

    public class JobPublishSetupFile
    extends JobPublishSetupItem
    The class that represents the files to transfer for use in a published job submission.
    Since:
    2.4
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JobPublishSetupFile​(java.lang.String path)
      Constructor.
      JobPublishSetupFile​(java.lang.String path, java.lang.String version)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getVersion()
      Gets the version of the file to transfer for the published job.
      int hashCode()  
      void setVersion​(java.lang.String version)
      Sets the version of the file to transfer for the published job.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • JobPublishSetupFile

        public JobPublishSetupFile​(java.lang.String path)
        Constructor.
        Parameters:
        path - The path to the file to transfer for the published job.
      • JobPublishSetupFile

        public JobPublishSetupFile​(java.lang.String path,
                                   java.lang.String version)
        Constructor.
        Parameters:
        path - The path to the file to transfer for the published job.
        version - The version of the file.
    • Method Detail

      • getVersion

        public java.lang.String getVersion()
        Gets the version of the file to transfer for the published job. If null, the latest version is transferred.
        Returns:
        The version of the file.
      • setVersion

        public void setVersion​(java.lang.String version)
        Sets the version of the file to transfer for the published job. If null, the latest version will be transferred.
        Parameters:
        version - The version of the file to transfer for the published job.