public class DomainArchiveDeployer extends Object implements ArchiveDeployer<Domain>
| Modifier and Type | Field and Description |
|---|---|
static String |
DOMAIN_BUNDLE_APPS_FOLDER |
| Constructor and Description |
|---|
DomainArchiveDeployer(ArchiveDeployer<Domain> domainDeployer,
ArchiveDeployer<Application> applicationDeployer,
DeploymentService deploymentService) |
| Modifier and Type | Method and Description |
|---|---|
void |
deployArtifact(Domain artifact,
Optional<Properties> deploymentProperties) |
Domain |
deployExplodedArtifact(String artifactDir,
Optional<Properties> deploymentProperties) |
Domain |
deployPackagedArtifact(String zip,
Optional<Properties> deploymentProperties) |
Domain |
deployPackagedArtifact(URI domainArchiveUri,
Optional<Properties> appProperties) |
Map<String,Map<URI,Long>> |
getArtifactsZombieMap() |
File |
getDeploymentDirectory() |
boolean |
isUpdatedZombieArtifact(String artifactName)
Indicates if a previously failed artifact (zombie) configuration was updated on the file system.
|
void |
redeploy(Domain artifact,
Optional<Properties> deploymentProperties) |
void |
setArtifactFactory(ArtifactFactory<Domain> artifactFactory) |
void |
setDeploymentListener(DeploymentListener deploymentListener) |
void |
undeployArtifact(String artifactId)
Undeploys a domain.
|
void |
undeployArtifactWithoutUninstall(Domain artifact) |
public static final String DOMAIN_BUNDLE_APPS_FOLDER
public DomainArchiveDeployer(ArchiveDeployer<Domain> domainDeployer, ArchiveDeployer<Application> applicationDeployer, DeploymentService deploymentService)
public boolean isUpdatedZombieArtifact(String artifactName)
ArchiveDeployerisUpdatedZombieArtifact in interface ArchiveDeployer<Domain>artifactName - name of the artifact to check. Non empty.public void undeployArtifact(String artifactId)
undeployArtifact in interface ArchiveDeployer<Domain>artifactId - domain name to undeploypublic File getDeploymentDirectory()
getDeploymentDirectory in interface ArchiveDeployer<Domain>public void setDeploymentListener(DeploymentListener deploymentListener)
setDeploymentListener in interface ArchiveDeployer<Domain>public Map<String,Map<URI,Long>> getArtifactsZombieMap()
getArtifactsZombieMap in interface ArchiveDeployer<Domain>public void setArtifactFactory(ArtifactFactory<Domain> artifactFactory)
setArtifactFactory in interface ArchiveDeployer<Domain>public void undeployArtifactWithoutUninstall(Domain artifact)
undeployArtifactWithoutUninstall in interface ArchiveDeployer<Domain>public Domain deployPackagedArtifact(URI domainArchiveUri, Optional<Properties> appProperties) throws DeploymentException
deployPackagedArtifact in interface ArchiveDeployer<Domain>DeploymentExceptionpublic Domain deployPackagedArtifact(String zip, Optional<Properties> deploymentProperties) throws DeploymentException
deployPackagedArtifact in interface ArchiveDeployer<Domain>DeploymentExceptionpublic void redeploy(Domain artifact, Optional<Properties> deploymentProperties) throws DeploymentException
redeploy in interface ArchiveDeployer<Domain>DeploymentExceptionpublic void deployArtifact(Domain artifact, Optional<Properties> deploymentProperties) throws DeploymentException
deployArtifact in interface ArchiveDeployer<Domain>DeploymentExceptionpublic Domain deployExplodedArtifact(String artifactDir, Optional<Properties> deploymentProperties)
deployExplodedArtifact in interface ArchiveDeployer<Domain>Copyright © 2003–2019 MuleSoft, Inc.. All rights reserved.