toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ArtifactCategory.screenshot:
      return 'SCREENSHOT';
    case ArtifactCategory.file:
      return 'FILE';
    case ArtifactCategory.log:
      return 'LOG';
  }
}