@RequiresDomain(value=StorageScopeRequirement.class) public class UploadModule extends Object implements Serializable
Constructor and Description |
---|
UploadModule() |
Modifier and Type | Method and Description |
---|---|
int |
getInsertRetryCount()
Controls the number of object insertion retries.
|
StorageScopeRequirement |
getRequirement() |
com.google.api.services.storage.Storage |
getStorageService(com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials credentials,
String version) |
String |
getVersion() |
com.google.jenkins.plugins.util.Executor |
newExecutor()
Interface for requesting the
Executor for executing requests. |
String |
prefix(String x)
Prefix the given log message with our module.
|
public com.google.jenkins.plugins.util.Executor newExecutor()
Executor
for executing requests.Executor
instance for issuing requestspublic StorageScopeRequirement getRequirement()
public String getVersion()
public com.google.api.services.storage.Storage getStorageService(com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials credentials, String version) throws UploadException
UploadException
public int getInsertRetryCount()
Copyright © 2016–2017. All rights reserved.