toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeploymentFailureHandlingPolicy.rollback:
      return 'ROLLBACK';
    case DeploymentFailureHandlingPolicy.doNothing:
      return 'DO_NOTHING';
  }
}