org.mule.module.launcher
Class ArtifactDeploymentStatusTracker
java.lang.Object
org.mule.module.launcher.AbstractDeploymentListener
org.mule.module.launcher.ArtifactDeploymentStatusTracker
- All Implemented Interfaces:
- DeploymentListener
public class ArtifactDeploymentStatusTracker
- extends AbstractDeploymentListener
Keeps track of the deployment status of the artifact listening to the deployment notifications
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deploymentStates
protected Map<String,ArtifactDeploymentStatusTracker.DeploymentState> deploymentStates
ArtifactDeploymentStatusTracker
public ArtifactDeploymentStatusTracker()
getDeploymentStates
public Map<String,ArtifactDeploymentStatusTracker.DeploymentState> getDeploymentStates()
onDeploymentStart
public void onDeploymentStart(String artifactName)
- Description copied from interface:
DeploymentListener
- Notifies that a deploy for a given application has started.
- Specified by:
onDeploymentStart in interface DeploymentListener- Overrides:
onDeploymentStart in class AbstractDeploymentListener
- Parameters:
artifactName - the name of the application being deployed
onDeploymentSuccess
public void onDeploymentSuccess(String artifactName)
- Description copied from interface:
DeploymentListener
- Notifies that a deploy for a given application has successfully finished.
- Specified by:
onDeploymentSuccess in interface DeploymentListener- Overrides:
onDeploymentSuccess in class AbstractDeploymentListener
- Parameters:
artifactName - the name of the application being deployed
onDeploymentFailure
public void onDeploymentFailure(String artifactName,
Throwable failureCause)
- Description copied from interface:
DeploymentListener
- Notifies that a deploy for a given application has finished with a failure.
- Specified by:
onDeploymentFailure in interface DeploymentListener- Overrides:
onDeploymentFailure in class AbstractDeploymentListener
- Parameters:
artifactName - the name of the application being deployedfailureCause - the cause of the failure
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.