public class ArtifactDeploymentStatusTracker extends AbstractDeploymentListener
Modifier and Type | Class and Description |
---|---|
static class |
ArtifactDeploymentStatusTracker.DeploymentState |
Modifier and Type | Field and Description |
---|---|
protected Map<String,ArtifactDeploymentStatusTracker.DeploymentState> |
deploymentStates |
Constructor and Description |
---|
ArtifactDeploymentStatusTracker() |
Modifier and Type | Method and Description |
---|---|
Map<String,ArtifactDeploymentStatusTracker.DeploymentState> |
getDeploymentStates() |
void |
onDeploymentFailure(String artifactName,
Throwable failureCause)
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.
|
onMuleContextConfigured, onMuleContextCreated, onMuleContextInitialised, onUndeploymentFailure, onUndeploymentStart, onUndeploymentSuccess
protected Map<String,ArtifactDeploymentStatusTracker.DeploymentState> deploymentStates
public Map<String,ArtifactDeploymentStatusTracker.DeploymentState> getDeploymentStates()
public void onDeploymentStart(String artifactName)
DeploymentListener
onDeploymentStart
in interface DeploymentListener
onDeploymentStart
in class AbstractDeploymentListener
artifactName
- the name of the application being deployedpublic void onDeploymentSuccess(String artifactName)
DeploymentListener
onDeploymentSuccess
in interface DeploymentListener
onDeploymentSuccess
in class AbstractDeploymentListener
artifactName
- the name of the application being deployedpublic void onDeploymentFailure(String artifactName, Throwable failureCause)
DeploymentListener
onDeploymentFailure
in interface DeploymentListener
onDeploymentFailure
in class AbstractDeploymentListener
artifactName
- the name of the application being deployedfailureCause
- the cause of the failureCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.