toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RebootOption.rebootIfNeeded:
      return 'RebootIfNeeded';
    case RebootOption.noReboot:
      return 'NoReboot';
  }
}