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
Type Description
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
Type Description
Capability

DATASTORE_WRITE

public static final Capability DATASTORE_WRITE

Availability of datastore writes.

Field Value
Type Description
Capability

IMAGES

public static final Capability IMAGES

Availability of the ImagesService.

Field Value
Type Description
Capability

MAIL

public static final Capability MAIL

Availability of theMailService.

Field Value
Type Description
Capability

MEMCACHE

public static final Capability MEMCACHE

Availability ofMemcacheService.

Field Value
Type Description
Capability
public static final Capability PROSPECTIVE_SEARCH

Availability of the ProspectiveSearchService.

Field Value
Type Description
Capability

TASKQUEUE

public static final Capability TASKQUEUE

Availability of TaskQueueService.

Field Value
Type Description
Capability

URL_FETCH

public static final Capability URL_FETCH

Availability of the URLFetchService.

Field Value
Type Description
Capability

XMPP

public static final Capability XMPP

Availability of the XMPPService.

Field Value
Type Description
Capability

Constructors

Capability(String packageName)

public Capability(String packageName)

Creates a new instance of a Capability.

Parameter
Name Description
packageName String

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
Name Description
packageName String

name of the package associated with this capability.

name String

name of the capability.

Methods

equals(Object x)

public boolean equals(Object x)
Parameter
Name Description
x Object
Returns
Type Description
boolean
Overrides

getName()

public String getName()

Returns the name associated with this capability.

Returns
Type Description
String

the name associated with this capability.

getPackageName()

public String getPackageName()

Returns the package name associated with this capability.

Returns
Type Description
String

the package name associated with this capability.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides