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 |
doNotPersistFlowsStop(String artifactName)
Cancels the persistence of a flow of an app.
|
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 started.
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 started.
artifact - artifact to be deployedvoid undeploy(T artifact)
The deployer executes the artifact desinstallation phases until de 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 undeployedvoid doNotPersistFlowsStop(String artifactName)
A stop of a certain flow must only be persisted when it was stopped by the external users. In case of undeployment, it should not be persisted.
artifactName - name of the artifact to be undeployedCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.