public class MSDeployArtifactHandlerImpl extends ArtifactHandlerBase
| Modifier and Type | Class and Description |
|---|---|
static class |
MSDeployArtifactHandlerImpl.Builder |
| Modifier and Type | Field and Description |
|---|---|
static String |
CREATE_ZIP_DONE |
static String |
CREATE_ZIP_START |
static String |
DELETE_PACKAGE_DONE |
static String |
DELETE_PACKAGE_FAIL |
static String |
DELETE_PACKAGE_START |
static String |
DEPLOY_PACKAGE_DONE |
static String |
DEPLOY_PACKAGE_START |
static String |
DEPLOYMENT_PACKAGE_CONTAINER |
protected String |
functionAppName |
static String |
UPLOAD_PACKAGE_DONE |
static String |
UPLOAD_PACKAGE_START |
buildDirectoryAbsolutePath, DEPLOY_ABORT, DEPLOY_FINISH, DEPLOY_START, project, STAGING_FOLDER_EMPTY, stagingDirectoryPath| Modifier | Constructor and Description |
|---|---|
private |
MSDeployArtifactHandlerImpl(MSDeployArtifactHandlerImpl.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
protected File |
createZipPackage() |
protected void |
deletePackageFromAzureStorage(com.microsoft.azure.storage.CloudStorageAccount storageAccount,
String blobName) |
protected void |
deployWithPackageUri(DeployTarget target,
String packageUri,
Runnable onDeployFinish) |
protected String |
getBlobName() |
void |
publish(DeployTarget target) |
protected String |
uploadPackageToAzureStorage(File zipPackage,
com.microsoft.azure.storage.CloudStorageAccount storageAccount,
String blobName) |
assureStagingDirectoryNotEmptypublic static final String DEPLOYMENT_PACKAGE_CONTAINER
public static final String CREATE_ZIP_START
public static final String CREATE_ZIP_DONE
public static final String UPLOAD_PACKAGE_START
public static final String UPLOAD_PACKAGE_DONE
public static final String DEPLOY_PACKAGE_START
public static final String DEPLOY_PACKAGE_DONE
public static final String DELETE_PACKAGE_START
public static final String DELETE_PACKAGE_DONE
public static final String DELETE_PACKAGE_FAIL
protected final String functionAppName
private MSDeployArtifactHandlerImpl(@Nonnull MSDeployArtifactHandlerImpl.Builder builder)
public void publish(DeployTarget target) throws AzureExecutionException
AzureExecutionExceptionprotected File createZipPackage() throws AzureExecutionException
AzureExecutionExceptionprotected String getBlobName()
protected String uploadPackageToAzureStorage(File zipPackage, com.microsoft.azure.storage.CloudStorageAccount storageAccount, String blobName) throws AzureExecutionException
AzureExecutionExceptionprotected void deployWithPackageUri(DeployTarget target, String packageUri, Runnable onDeployFinish)
protected void deletePackageFromAzureStorage(com.microsoft.azure.storage.CloudStorageAccount storageAccount,
String blobName)
Copyright © 2020. All rights reserved.