Class UploadOptions

java.lang.Object
io.jenkins.plugins.pgyer.client.UploadOptions
All Implemented Interfaces:
Serializable

public class UploadOptions extends Object implements Serializable
Parameters of one upload, sent from the controller to the agent that holds the file.
See Also:
  • Field Details

    • DEFAULT_PROCESSING_TIMEOUT

      public static final int DEFAULT_PROCESSING_TIMEOUT
      See Also:
  • Constructor Details

    • UploadOptions

      public UploadOptions()
  • Method Details

    • getApiKey

      public String getApiKey()
    • setApiKey

      public void setApiKey(String apiKey)
    • getBuildType

      public String getBuildType()
    • setBuildType

      public void setBuildType(String buildType)
      One of android, ios or harmony.
    • getInstallType

      public String getInstallType()
    • setInstallType

      public void setInstallType(String installType)
      1 public, 2 password, 3 invitation only.
    • setPassword

      public void setPassword(String password)
    • setDescription

      public void setDescription(String description)
    • setUpdateDescription

      public void setUpdateDescription(String updateDescription)
    • setInstallPeriod

      public void setInstallPeriod(String startDate, String endDate)
      Dates are yyyy-MM-dd; both must be set to limit the install period.
    • setChannelShortcut

      public void setChannelShortcut(String channelShortcut)
    • setOversea

      public void setOversea(Boolean oversea)
      null lets PGYER choose by the client IP address.
    • getFileName

      public String getFileName()
    • setFileName

      public void setFileName(String fileName)
      The file name users see when they download the build.
    • getProcessingTimeout

      public int getProcessingTimeout()
    • setProcessingTimeout

      public void setProcessingTimeout(int processingTimeout)
      Seconds to wait for PGYER to finish processing the uploaded file.
    • getUploadTimeout

      public Integer getUploadTimeout()
    • setUploadTimeout

      public void setUploadTimeout(Integer uploadTimeout)
      Seconds allowed for sending the file; null means no limit.
    • getClient

      public String getClient()
    • setClient

      public void setClient(String client)
      Names the caller in the User-Agent header, such as upload-pgyer-jenkins/3.1 Jenkins/2.479.3.