Package io.jenkins.plugins.pgyer.client
Class UploadOptions
java.lang.Object
io.jenkins.plugins.pgyer.client.UploadOptions
- All Implemented Interfaces:
Serializable
Parameters of one upload, sent from the controller to the agent that holds the file.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidvoidsetBuildType(String buildType) One ofandroid,iosorharmony.voidsetChannelShortcut(String channelShortcut) voidNames the caller in the User-Agent header, such asupload-pgyer-jenkins/3.1 Jenkins/2.479.3.voidsetDescription(String description) voidsetFileName(String fileName) The file name users see when they download the build.voidsetInstallPeriod(String startDate, String endDate) Dates areyyyy-MM-dd; both must be set to limit the install period.voidsetInstallType(String installType) 1public,2password,3invitation only.voidsetOversea(Boolean oversea) nulllets PGYER choose by the client IP address.voidsetPassword(String password) voidsetProcessingTimeout(int processingTimeout) Seconds to wait for PGYER to finish processing the uploaded file.voidsetUpdateDescription(String updateDescription) voidsetUploadTimeout(Integer uploadTimeout) Seconds allowed for sending the file;nullmeans no limit.
-
Field Details
-
DEFAULT_PROCESSING_TIMEOUT
public static final int DEFAULT_PROCESSING_TIMEOUT- See Also:
-
-
Constructor Details
-
UploadOptions
public UploadOptions()
-
-
Method Details
-
getApiKey
-
setApiKey
-
getBuildType
-
setBuildType
One ofandroid,iosorharmony. -
getInstallType
-
setInstallType
1public,2password,3invitation only. -
setPassword
-
setDescription
-
setUpdateDescription
-
setInstallPeriod
Dates areyyyy-MM-dd; both must be set to limit the install period. -
setChannelShortcut
-
setOversea
nulllets PGYER choose by the client IP address. -
getFileName
-
setFileName
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
-
setUploadTimeout
Seconds allowed for sending the file;nullmeans no limit. -
getClient
-
setClient
Names the caller in the User-Agent header, such asupload-pgyer-jenkins/3.1 Jenkins/2.479.3.
-