@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) |
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 requestsCloudManagementException
- if a service connection cannot
be established.public StorageScopeRequirement getRequirement()
public com.google.api.services.storage.Storage getStorageService(com.google.jenkins.plugins.credentials.oauth.GoogleRobotCredentials credentials) throws UploadException
UploadException
public int getInsertRetryCount()
Copyright © 2004-2014. All Rights Reserved.