com.android.sdklib.repository.descriptors
Interface IPkgCapabilities

All Known Subinterfaces:
IPkgDesc, IPkgDescExtra
All Known Implementing Classes:
PkgDesc, PkgDescExtra, PkgType

public interface IPkgCapabilities

IPkgCapabilities describe which attributes are available for each kind of SDK Manager package type.

To query packages capabilities, rely on PkgType.hasXxx() or PkgDesc.hasXxx().

See Also:
PkgType, PkgDesc

Method Summary
 boolean hasAndroidVersion()
          Indicates whether this package type has a AndroidVersion.
 boolean hasMinPlatformToolsRev()
          Indicates whether this package type has a min-platform-tools-rev attribute.
 boolean hasMinToolsRev()
          Indicates whether this package type has a min-tools-rev attribute.
 boolean hasName()
          Indicates whether this package type has a name attribute.
 boolean hasPath()
          Indicates whether this package type has a path.
 boolean hasTag()
          Indicates whether this package type has a tag.
 boolean hasVendor()
          Indicates whether this package type has a vendor id.
 

Method Detail

hasAndroidVersion

boolean hasAndroidVersion()
Indicates whether this package type has a AndroidVersion.

Returns:
True if this package type has a AndroidVersion.

hasPath

boolean hasPath()
Indicates whether this package type has a path.

Returns:
True if this package type has a path.

hasTag

boolean hasTag()
Indicates whether this package type has a tag.

Returns:
True if this package type has a tag id-display tuple.

hasVendor

boolean hasVendor()
Indicates whether this package type has a vendor id.

Returns:
True if this package type has a vendor id.

hasMinToolsRev

boolean hasMinToolsRev()
Indicates whether this package type has a min-tools-rev attribute.

Returns:
True if this package type has a min-tools-rev attribute.

hasMinPlatformToolsRev

boolean hasMinPlatformToolsRev()
Indicates whether this package type has a min-platform-tools-rev attribute.

Returns:
True if this package type has a min-platform-tools-rev attribute.

hasName

boolean hasName()
Indicates whether this package type has a name attribute.

Returns:
True if this package type has a name attribute.