toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SourceType.git:
      return 'git';
    case SourceType.svn:
      return 'svn';
    case SourceType.archive:
      return 'archive';
    case SourceType.s3:
      return 's3';
  }
}