toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LanguageType.java:
      return 'JAVA';
    case LanguageType.python:
      return 'PYTHON';
    case LanguageType.nodeJs:
      return 'NODE_JS';
    case LanguageType.ruby:
      return 'RUBY';
    case LanguageType.golang:
      return 'GOLANG';
    case LanguageType.docker:
      return 'DOCKER';
    case LanguageType.android:
      return 'ANDROID';
    case LanguageType.dotnet:
      return 'DOTNET';
    case LanguageType.base:
      return 'BASE';
    case LanguageType.php:
      return 'PHP';
  }
}