toValue method
Implementation
String toValue() {
switch (this) {
case AutoRollbackEvent.deploymentFailure:
return 'DEPLOYMENT_FAILURE';
case AutoRollbackEvent.deploymentStopOnAlarm:
return 'DEPLOYMENT_STOP_ON_ALARM';
case AutoRollbackEvent.deploymentStopOnRequest:
return 'DEPLOYMENT_STOP_ON_REQUEST';
}
}