public class DeploymentListenerAdapter extends Object implements DeploymentListener
ArtifactDeploymentListener to work as a DeploymentListener.| Modifier and Type | Field and Description |
|---|---|
static String |
UNSUPPORTED_ARTIFACT_TYPE_ERROR |
| Constructor and Description |
|---|
DeploymentListenerAdapter(ArtifactDeploymentListener artifactDeploymentListener,
ArtifactType artifactType) |
| Modifier and Type | Method and Description |
|---|---|
void |
onArtifactCreated(String artifactName,
org.mule.runtime.api.config.custom.CustomizationService customizationService)
Notifies the artifact creation for a given app.
|
void |
onArtifactInitialised(String artifactName,
org.mule.runtime.api.artifact.Registry registry)
Notifies the artifact initialisation for a given app.
|
void |
onDeploymentFailure(String artifactName,
Throwable cause)
Notifies that a deploy for a given application has finished with a failure.
|
void |
onDeploymentStart(String artifactName)
Notifies that a deploy for a given application has started.
|
void |
onDeploymentSuccess(String artifactName)
Notifies that a deploy for a given application has successfully finished.
|
void |
onUndeploymentFailure(String artifactName,
Throwable cause)
Notifies that an un-deployment for a given application has finished with a failure.
|
void |
onUndeploymentStart(String artifactName)
Notifies that an un-deployment for a given application has started.
|
void |
onUndeploymentSuccess(String artifactName)
Notifies that an un-deployment for a given application has successfully finished.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonArtifactStarted, onArtifactStopped, onRedeploymentFailure, onRedeploymentStart, onRedeploymentSuccesspublic static final String UNSUPPORTED_ARTIFACT_TYPE_ERROR
public DeploymentListenerAdapter(ArtifactDeploymentListener artifactDeploymentListener, ArtifactType artifactType)
artifactDeploymentListener - the artifactDeploymentListener to adapt.artifactType - valid values are ArtifactType.APP and ArtifactType.DOMAINIllegalArgumentException - if the artifact type is invalid.public void onDeploymentStart(String artifactName)
DeploymentListeneronDeploymentStart in interface DeploymentListenerartifactName - the name of the application being deployedpublic void onDeploymentSuccess(String artifactName)
DeploymentListeneronDeploymentSuccess in interface DeploymentListenerartifactName - the name of the application being deployedpublic void onDeploymentFailure(String artifactName, Throwable cause)
DeploymentListeneronDeploymentFailure in interface DeploymentListenerartifactName - the name of the application being deployedcause - the cause of the failurepublic void onUndeploymentStart(String artifactName)
DeploymentListeneronUndeploymentStart in interface DeploymentListenerartifactName - the name of the application being un-deployedpublic void onUndeploymentSuccess(String artifactName)
DeploymentListeneronUndeploymentSuccess in interface DeploymentListenerartifactName - the name of the application being un-deployedpublic void onUndeploymentFailure(String artifactName, Throwable cause)
DeploymentListeneronUndeploymentFailure in interface DeploymentListenerartifactName - the name of the application being un-deployedcause - the cause of the failurepublic void onArtifactCreated(String artifactName, org.mule.runtime.api.config.custom.CustomizationService customizationService)
DeploymentListeneronArtifactCreated in interface DeploymentListenerartifactName - name of the application that owns the mule contextcustomizationService - customization service for server pluginspublic void onArtifactInitialised(String artifactName, org.mule.runtime.api.artifact.Registry registry)
DeploymentListeneronArtifactInitialised in interface DeploymentListenerartifactName - name of the application that owns the mule contextregistry - mule registry for the application being deployedCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.