public class BlobStoreProfile extends AbstractDescribableImpl<BlobStoreProfile>
Modifier and Type | Class and Description |
---|---|
static class |
BlobStoreProfile.ConverterImpl |
static class |
BlobStoreProfile.DescriptorImpl |
Constructor and Description |
---|
BlobStoreProfile(String profileName,
String providerName,
String credentialsId,
String endPointUrl,
String locationId,
boolean trustAll) |
Modifier and Type | Method and Description |
---|---|
String |
getCredentialsId()
credentials.
|
String |
getEndPointUrl()
Provider endpoint.
|
String |
getLocationId()
location.
|
String |
getProfileName()
Configured profile.
|
String |
getProviderName()
Provider Name as per the JClouds Blobstore supported providers.
|
boolean |
getTrustAll() |
void |
setCredentialsId(String value) |
void |
upload(String container,
String path,
FilePath filePath)
Upload the specified file from the
|
getDescriptor
public boolean getTrustAll()
public String getProfileName()
public String getProviderName()
public String getEndPointUrl()
public String getCredentialsId()
public void setCredentialsId(String value)
public String getLocationId()
public void upload(String container, String path, FilePath filePath) throws IOException, InterruptedException
container
- - The container where the file needs to be uploaded.path
- - The path in container where the file needs to be uploaded.filePath
- - the FilePath
of the file which needs to be uploaded.IOException
- if an IO error occurs.InterruptedException
- If the upload gets interrupted.Copyright © 2016–2021. All rights reserved.