public class AzureBlobResourceEntity extends BaseResourceEntity
resourceName
Constructor and Description |
---|
AzureBlobResourceEntity(String blobPath,
String sasKey,
boolean requireUnzip)
AzureBlobResourceEntity constuctor
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsSasKey()
Whether contains SAS key
|
String |
getContainerName() |
String |
getSourcePath()
Get source path of this resource.
|
String |
getStorageAccount() |
boolean |
requireUnzip()
Check if require unzip the resource on target VM.
|
boolean |
requireZip()
Check if require zip the resource on Jenkins server.
|
void |
setSasKey(String sasKey)
Set SAS key
|
containsSas, getBlobName, getBlobPath, getResourceName, setBlobName, setBlobPath
public AzureBlobResourceEntity(String blobPath, String sasKey, boolean requireUnzip) throws FileNotFoundException
blobPath
- blob pathsasKey
- SAS keyrequireUnzip
- whether require unzip the resourceFileNotFoundException
public String getSourcePath()
ResourceEntity
public boolean requireZip()
ResourceEntity
public boolean requireUnzip()
ResourceEntity
public String getStorageAccount()
public String getContainerName()
public boolean containsSasKey()
public final void setSasKey(String sasKey)
sasKey
- SAS keyCopyright © 2016. All rights reserved.