Command undeploymentCommand() {
return Commands.atomic(new UndeploymentCommand());
}
private void undeploy() throws CargoException {
final Deployable deployable = deployable();
final String monitorUrl = monitorUrl();
try {
if (monitorUrl.isEmpty()) deployer().undeploy(deployable);
else deployer().undeploy(deployable, deployableMonitor());
} catch (RuntimeException ex) {