toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ChangeType.immediate:
      return 'immediate';
    case ChangeType.requiresReboot:
      return 'requires-reboot';
  }
}