public class DefaultArtifactDeployer<T extends DeployableArtifact> extends Object implements ArtifactDeployer<T>
| Constructor and Description |
|---|
DefaultArtifactDeployer(Supplier<org.mule.runtime.api.scheduler.Scheduler> artifactStartExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(T artifact,
boolean startArtifact)
Deploys an artifact.
|
void |
doNotPersistArtifactStop(T artifact)
Cancels the persistence of a stop of an artifact.
|
Boolean |
isStatePersisted(String flowName,
String appName) |
void |
undeploy(T artifact)
Undeploys an artifact.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeploypublic DefaultArtifactDeployer(Supplier<org.mule.runtime.api.scheduler.Scheduler> artifactStartExecutor)
public void deploy(T artifact, boolean startArtifact)
ArtifactDeployerThe deployer executes the artifact installation phases until the artifact is deployed. After this method call the Artifact will be installed in the container and its start dispatched asynchronously.
deploy in interface ArtifactDeployer<T extends DeployableArtifact>artifact - artifact to be deployedstartArtifact - whether the artifact should be started after initialisationpublic void undeploy(T artifact)
ArtifactDeployerThe deployer executes the artifact unsinstallation phases until the artifact is undeployed. After this method call the Artifact will not longer be running inside the container.
undeploy in interface ArtifactDeployer<T extends DeployableArtifact>artifact - artifact to be undeployedpublic void doNotPersistArtifactStop(T artifact)
ArtifactDeployerA stop of a certain artifact must only be persisted when it was stopped by the external users. In case of undeployment, it should not be persisted.
doNotPersistArtifactStop in interface ArtifactDeployer<T extends DeployableArtifact>artifact - artifact to be undeployedCopyright © 2003–2025 MuleSoft, Inc.. All rights reserved.