toValue method
Implementation
String toValue() {
switch (this) {
case DeploymentCommandName.installDependencies:
return 'install_dependencies';
case DeploymentCommandName.updateDependencies:
return 'update_dependencies';
case DeploymentCommandName.updateCustomCookbooks:
return 'update_custom_cookbooks';
case DeploymentCommandName.executeRecipes:
return 'execute_recipes';
case DeploymentCommandName.configure:
return 'configure';
case DeploymentCommandName.setup:
return 'setup';
case DeploymentCommandName.deploy:
return 'deploy';
case DeploymentCommandName.rollback:
return 'rollback';
case DeploymentCommandName.start:
return 'start';
case DeploymentCommandName.stop:
return 'stop';
case DeploymentCommandName.restart:
return 'restart';
case DeploymentCommandName.undeploy:
return 'undeploy';
}
}