# JarInput

# JarInput

<br />

```
interface JarInput : QualifiedContent
```

<br />

*** ** * ** ***

| **This interface is deprecated.**   

A[QualifiedContent](https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/transform/QualifiedContent)of type jar.

This means the[getFile](https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/transform/QualifiedContent#getFile())is the jar file containing the content.

This also contains the incremental state of the jar file, if the transform is in incremental mode through[getStatus](https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/transform/JarInput#getStatus()).

For a transform to run in incremental mode:

- [isIncremental](https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/transform/Transform#isIncremental())must return`true`
- The parameter isIncremental of[transform](https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/transform/Transform#transform(com.android.build.api.transform.Context,java.util.Collection<com.android.build.api.transform.TransformInput>,java.util.Collection<com.android.build.api.transform.TransformInput>,com.android.build.api.transform.TransformOutputProvider,boolean))must be`true`.

If the transform is not in incremental mode,[getStatus](https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/transform/JarInput#getStatus())always returns[NOTCHANGED](https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/transform/Status#NOTCHANGED).

## Summary

|                                                                                                               ### Public functions                                                                                                                ||
|---------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
| [Status](https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/transform/Status) | [getStatus](https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/transform/JarInput#getStatus())`()` |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ### Inherited functions                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| From class[com.android.build.api.transform.QualifiedContent](https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/transform/QualifiedContent) |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `(`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-set/index.html)`)`[Set](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html)`<`[QualifiedContent.ContentType](https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/transform/QualifiedContent.ContentType)`!>` | [getContentTypes](https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/transform/QualifiedContent#getContentTypes())`()` Returns the type of content that the stream represents. | | [File](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/File.html)                                                                                                                                                                                                                                                                         | [getFile](https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/transform/QualifiedContent#getFile())`()` Returns he location of the content.                                     | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)                                                                                                                                                                                                                                                                               | [getName](https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/transform/QualifiedContent#getName())`()` Returns the name of the content.                                        | | `(`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-set/index.html)`)`[Set](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html)`<`[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`!>`                                                                                | [getScopes](https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/transform/QualifiedContent#getScopes())`()` Returns the scope of the content.                                   | |

## Public functions

### getStatus

```
fun getStatus(): Status
```