# Artifact.Category

# Artifact.Category

<br />

```
public enum Artifact.Category extends Enum
```

<br />

|---|---|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [java.lang.Object](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html)                                                                       |||
| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)                                                                                       ||
|   | ↳ | [com.android.build.api.artifact.Artifact.Category](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/artifact/Artifact.Category) |

*** ** * ** ***

Defines the kind of artifact type. this will be used to determine the output file location for instance.

## Summary

|                                                                  ### Enum Values                                                                  |
|---------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [GENERATED](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/artifact/Artifact.Category#GENERATED)         |   |
| [INTERMEDIATES](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/artifact/Artifact.Category#INTERMEDIATES) |   |
| [OUTPUTS](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/artifact/Artifact.Category#OUTPUTS)             |   |
| [REPORTS](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/artifact/Artifact.Category#REPORTS)             |   |
| [SOURCES](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/artifact/Artifact.Category#SOURCES)             |   |

|                                                                                                                     ### Public methods                                                                                                                      |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `final @`[NonNull](https://developer.android.com/reference/tools/gradle-api/8.3/null/androidx/annotation/NonNull)` `[Artifact.Category](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/artifact/Artifact.Category) | [valueOf](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/artifact/Artifact.Category#valueOf(kotlin.String))`(@`[NonNull](https://developer.android.com/reference/tools/gradle-api/8.3/null/androidx/annotation/NonNull)` `[String](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html)` value)` Returns the enum constant of this type with the specified name. |
| `final @`[NonNull](https://developer.android.com/reference/tools/gradle-api/8.3/null/androidx/annotation/NonNull)` Artifact.Category[]`                                                                                                                     | [values](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/artifact/Artifact.Category#values())`()` Returns an array containing the constants of this enum type, in the order they're declared.                                                                                                                                                                                                    |

## Enum Values

### GENERATED

```
Artifact.Category Artifact.Category.GENERATED
```  

### INTERMEDIATES

```
Artifact.Category Artifact.Category.INTERMEDIATES
```  

### OUTPUTS

```
Artifact.Category Artifact.Category.OUTPUTS
```  

### REPORTS

```
Artifact.Category Artifact.Category.REPORTS
```  

### SOURCES

```
Artifact.Category Artifact.Category.SOURCES
```  

## Public methods

### valueOf

```
public final @NonNull Artifact.Category valueOf(@NonNull String value)
```

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)  

|                                                            Throws                                                             |
|-------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------|
| [kotlin.IllegalArgumentException](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-argument-exception/index.html) | if this enum type has no constant with the specified name |

### values

```
public final @NonNull Artifact.Category[] values()
```

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.