T - artifact typepublic interface ArtifactDeployer<T extends DeployableArtifact>
| Modifier and Type | Method and Description |
|---|---|
default void |
deploy(T artifact)
Deploys an artifact.
|
void |
deploy(T artifact,
boolean startArtifact)
Deploys an artifact.
|
void |
doNotPersistArtifactStop(T artifact)
Cancels the persistence of a stop of an artifact.
|
void |
undeploy(T artifact)
Undeploys an artifact.
|
void deploy(T artifact, boolean startArtifact)
The 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.
artifact - artifact to be deployedstartArtifact - whether the artifact should be started after initialisationdefault void deploy(T artifact)
The 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.
artifact - artifact to be deployedvoid undeploy(T artifact)
The 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.
artifact - artifact to be undeployedvoid doNotPersistArtifactStop(T artifact)
A 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.
artifact - artifact to be undeployedCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.