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 hasFullRevision()
          Indicates whether this package type has a FullRevision.
 boolean hasMajorRevision()
          Indicates whether this package type has a MajorRevision.
 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 hasPath()
          Indicates whether this package type has a path.
 boolean hasVendorId()
          Indicates whether this package type has a vendor id.
 

Method Detail

hasFullRevision

boolean hasFullRevision()
Indicates whether this package type has a FullRevision.

Returns:
True if this package type has a FullRevision.

hasMajorRevision

boolean hasMajorRevision()
Indicates whether this package type has a MajorRevision.

Returns:
True if this package type has a MajorRevision.

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.

hasVendorId

boolean hasVendorId()
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.