Enum Class QualifiedContent.Scope

java.lang.Object
java.lang.Enum<QualifiedContent.Scope>
com.android.build.api.transform.QualifiedContent.Scope
All Implemented Interfaces:
QualifiedContent.ScopeType, Serializable, Comparable<QualifiedContent.Scope>, Constable
Enclosing interface:
QualifiedContent

public static enum QualifiedContent.Scope extends Enum<QualifiedContent.Scope> implements QualifiedContent.ScopeType
The scope of the content.

This indicates what the content represents, so that Transforms can apply to only part(s) of the classes or resources that the build manipulates.

  • Enum Constant Details

  • Method Details

    • values

      public static QualifiedContent.Scope[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static QualifiedContent.Scope valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Description copied from interface: QualifiedContent.ScopeType
      A scope binary flag that will be used to encode directory names. Must be unique.
      Specified by:
      getValue in interface QualifiedContent.ScopeType
      Returns:
      a scope binary flag.