toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ResourceType.jar:
      return 'JAR';
    case ResourceType.file:
      return 'FILE';
    case ResourceType.archive:
      return 'ARCHIVE';
  }
}