Interface ManifestAttributeSupplier

All Known Implementing Classes:
DefaultManifestParser

@Deprecated public interface ManifestAttributeSupplier
Deprecated.
An interface that provides methods for reading some of the attribute values from the manifest.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Returns value of the extractNativeLibs attribute of the application tag, if present.
    Deprecated.
    Returns the functionalTest from the instrumentation tag in the manifest file.
    Deprecated.
    Returns the handleProfiling from the instrumentation tag in the manifest file.
    Deprecated.
    Returns the instrumentation runner from the instrumentation tag in the manifest file.
    Deprecated.
    Returns the minSdkVersion from the manifest file.
    Deprecated.
    Returns the package name from the manifest file.
    Deprecated.
    Returns the split name from the manifest file.
    Deprecated.
    Returns the targetPackage from the instrumentation tag in the manifest file.
    Deprecated.
    Returns the targetSdkVersion from the manifest file.
    Deprecated.
    Returns the testLabel from the instrumentation tag in the manifest file.
    Deprecated.
    Returns value of the useEmbeddedDex attribute of the application tag, if present.
    boolean
    Deprecated.
    Whether the manifest file is required to exist.
  • Method Details

    • isManifestFileRequired

      boolean isManifestFileRequired()
      Deprecated.
      Whether the manifest file is required to exist.
    • getPackage

      @Nullable String getPackage()
      Deprecated.
      Returns the package name from the manifest file.
      Returns:
      the package name or null if not found.
    • getSplit

      @Nullable String getSplit()
      Deprecated.
      Returns the split name from the manifest file.
      Returns:
      the split name or null if not found.
    • getMinSdkVersion

      Object getMinSdkVersion()
      Deprecated.
      Returns the minSdkVersion from the manifest file. The returned value can be an Integer or a String
      Returns:
      the minSdkVersion or null if value is not set.
    • getTargetSdkVersion

      Object getTargetSdkVersion()
      Deprecated.
      Returns the targetSdkVersion from the manifest file. The returned value can be an Integer or a String
      Returns:
      the targetSdkVersion or null if not found
    • getInstrumentationRunner

      @Nullable String getInstrumentationRunner()
      Deprecated.
      Returns the instrumentation runner from the instrumentation tag in the manifest file.
      Returns:
      the instrumentation runner or null if there is none specified.
    • getTargetPackage

      @Nullable String getTargetPackage()
      Deprecated.
      Returns the targetPackage from the instrumentation tag in the manifest file.
      Returns:
      the targetPackage or null if there is none specified.
    • getFunctionalTest

      @Nullable Boolean getFunctionalTest()
      Deprecated.
      Returns the functionalTest from the instrumentation tag in the manifest file.
      Returns:
      the functionalTest or null if there is none specified.
    • getHandleProfiling

      @Nullable Boolean getHandleProfiling()
      Deprecated.
      Returns the handleProfiling from the instrumentation tag in the manifest file.
      Returns:
      the handleProfiling or null if there is none specified.
    • getTestLabel

      @Nullable String getTestLabel()
      Deprecated.
      Returns the testLabel from the instrumentation tag in the manifest file.
      Returns:
      the testLabel or null if there is none specified.
    • getExtractNativeLibs

      @Nullable Boolean getExtractNativeLibs()
      Deprecated.
      Returns value of the extractNativeLibs attribute of the application tag, if present.
    • getUseEmbeddedDex

      @Nullable Boolean getUseEmbeddedDex()
      Deprecated.
      Returns value of the useEmbeddedDex attribute of the application tag, if present.