public class ArmArtifactDeployer extends Object implements ArtifactDeployer
ArmClient.| Modifier | Constructor and Description |
|---|---|
protected |
ArmArtifactDeployer(Deployment deployment,
ArmClient client,
DeployerLog log) |
|
ArmArtifactDeployer(Deployment deployment,
DeployerLog log) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkApplicationHasStarted()
Checks if an application in ARM has the
STARTED_STATUS status. |
void |
deployApplication()
Deploys the application specified in the
Deployment to ARM through the ArmClient. |
void |
deployDomain() |
Integer |
getApplicationId()
Retrieves the application id through the
ArmClient. |
ApplicationMetadata |
getApplicationMetadata()
Retrieves the application metadata based on the deployment configuration.
|
protected String |
getApplicationName()
Retrieves the application name.
|
DeploymentVerification |
getDeploymentVerification() |
boolean |
isFailIfNotExists()
Returns the value of the property failIfNotExists.
|
void |
redeployApplication()
Redeploys the application specified in the
Deployment to ARM through the ArmClient. |
void |
undeployApplication()
Undeploys the application specified in the
Deployment to ARM through the ArmClient. |
void |
undeployDomain() |
public ArmArtifactDeployer(Deployment deployment, DeployerLog log)
protected ArmArtifactDeployer(Deployment deployment, ArmClient client, DeployerLog log)
public ApplicationMetadata getApplicationMetadata()
public boolean isFailIfNotExists()
public void deployDomain()
throws DeploymentException
deployDomain in interface DomainDeployerDeploymentExceptionpublic void undeployDomain()
throws DeploymentException
undeployDomain in interface DomainDeployerDeploymentExceptionpublic void deployApplication()
throws DeploymentException
Deployment to ARM through the ArmClient.deployApplication in interface ApplicationDeployerDeploymentExceptionprotected void checkApplicationHasStarted()
throws DeploymentException
STARTED_STATUS status.DeploymentException - In case it timeouts while checking for the statuspublic void undeployApplication()
throws DeploymentException
Deployment to ARM through the ArmClient.undeployApplication in interface ApplicationDeployerDeploymentExceptionpublic void redeployApplication()
throws DeploymentException
Deployment to ARM through the ArmClient.DeploymentExceptionpublic Integer getApplicationId()
ArmClient.protected String getApplicationName()
public DeploymentVerification getDeploymentVerification()
Copyright © 2024 MuleSoft Inc. All rights reserved.