toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case InstancePlatform.linuxUnix:
      return 'LINUX_UNIX';
    case InstancePlatform.windows:
      return 'WINDOWS';
  }
}