Class Capability (2.0.0)

public class Capability

A capability represents a particular feature or set of features available on the App Engine platform.

To check the availability of a particular capability, use the CapabilitiesService API.

Inheritance

Object > Capability

Static Fields

BLOBSTORE (deprecated)

public static final Capability BLOBSTORE

Deprecated. This service will always be reported as being available.

Availability of BlobstoreService.

Field Value
TypeDescription
Capability

DATASTORE (deprecated)

public static final Capability DATASTORE

Deprecated. This service will always be reported as being available. If

Availability of the datastore.

Field Value
TypeDescription
Capability

DATASTORE_WRITE

public static final Capability DATASTORE_WRITE

Availability of datastore writes.

Field Value
TypeDescription
Capability

IMAGES

public static final Capability IMAGES

Availability of the ImagesService.

Field Value
TypeDescription
Capability

MAIL

public static final Capability MAIL

Availability of theMailService.

Field Value
TypeDescription
Capability

MEMCACHE

public static final Capability MEMCACHE

Availability ofMemcacheService.

Field Value
TypeDescription
Capability
public static final Capability PROSPECTIVE_SEARCH

Availability of the ProspectiveSearchService.

Field Value
TypeDescription
Capability

TASKQUEUE

public static final Capability TASKQUEUE

Availability of TaskQueueService.

Field Value
TypeDescription
Capability

URL_FETCH

public static final Capability URL_FETCH

Availability of the URLFetchService.

Field Value
TypeDescription
Capability

XMPP

public static final Capability XMPP

Availability of the XMPPService.

Field Value
TypeDescription
Capability

Constructors

Capability(String packageName)

public Capability(String packageName)

Creates a new instance of a Capability.

Parameter
NameDescription
packageNameString

name of the package associated with this capability.

Capability(String packageName, String name)

public Capability(String packageName, String name)

Creates a new instance of a Capability.

Parameters
NameDescription
packageNameString

name of the package associated with this capability.

nameString

name of the capability.

Methods

equals(Object x)

public boolean equals(Object x)
Parameter
NameDescription
xObject
Returns
TypeDescription
boolean
Overrides

getName()

public String getName()

Returns the name associated with this capability.

Returns
TypeDescription
String

the name associated with this capability.

getPackageName()

public String getPackageName()

Returns the package name associated with this capability.

Returns
TypeDescription
String

the package name associated with this capability.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides