# Status

# Status

[View Source](https://cs.android.com/search?q=file:com/android/build/api/transform/Status.java+class:com.android.build.api.transform.Status)  
Added in 4.2.0  
Deprecated in 7.0.0  


```
enum Status
```

<br />

*** ** * ** ***

| **This enum is deprecated.**   

The file changed status for incremental execution.

## Summary

|                                                       ### Enum Values                                                        |
|------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------|
| [ADDED](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/Status#ADDED)           | The file was added since the last build.       |
| [CHANGED](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/Status#CHANGED)       | The file was modified since the last build.    |
| [NOTCHANGED](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/Status#NOTCHANGED) | The file was not changed since the last build. |
| [REMOVED](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/Status#REMOVED)       | The file was removed since the last build.     |

|                                                                                               ### Public functions                                                                                                |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `java-static `[Status](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/Status)`!`                                                                                    | [valueOf](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/Status#valueOf(java.lang.String))`(name: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Returns the enum constant of this type with the specified name. |
| `java-static `[Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)`<`[Status](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/Status)`!>!` | [values](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/Status#values())`()` Returns an array containing the constants of this enum type, in the order they're declared.                                                                                |

## Enum Values

### ADDED

```
val Status.ADDED: Status
```

The file was added since the last build.  

### CHANGED

```
val Status.CHANGED: Status
```

The file was modified since the last build.  

### NOTCHANGED

```
val Status.NOTCHANGED: Status
```

The file was not changed since the last build.  

### REMOVED

```
val Status.REMOVED: Status
```

The file was removed since the last build.  

## Public functions

### valueOf

Added in 4.2.0  

```
java-static fun valueOf(name: String!): Status!
```

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.)  

|                                                     Returns                                                      |
|------------------------------------------------------------------------------------------------------------------|-------------------------------------------|
| [Status](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/Status)`!` | the enum constant with the specified name |

|                                                                   Throws                                                                   |
|--------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------|
| [java.lang.IllegalArgumentException](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalArgumentException.html) | if this enum type has no constant with the specified name |

### values

Added in 4.2.0  

```
java-static fun values(): Array<Status!>!
```

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.  

|                                                                                               Returns                                                                                               |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|
| [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)`<`[Status](https://developer.android.com/reference/tools/gradle-api/8.8/com/android/build/api/transform/Status)`!>!` | an array containing the constants of this enum type, in the order they're declared |