toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case UpgradeStep.preUpgradeCheck:
      return 'PRE_UPGRADE_CHECK';
    case UpgradeStep.snapshot:
      return 'SNAPSHOT';
    case UpgradeStep.upgrade:
      return 'UPGRADE';
  }
}