public class CapabilityA 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.
Static Fields
BLOBSTORE (deprecated)
public static final Capability BLOBSTOREDeprecated. This service will always be reported as being available.
Availability of BlobstoreService.
| Field Value | |
|---|---|
| Type | Description |
Capability |
|
DATASTORE (deprecated)
public static final Capability DATASTOREDeprecated. 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_WRITEAvailability of datastore writes.
| Field Value | |
|---|---|
| Type | Description |
Capability |
|
IMAGES
public static final Capability IMAGESAvailability of the ImagesService.
| Field Value | |
|---|---|
| Type | Description |
Capability |
|
public static final Capability MAILAvailability of theMailService.
| Field Value | |
|---|---|
| Type | Description |
Capability |
|
MEMCACHE
public static final Capability MEMCACHEAvailability ofMemcacheService.
| Field Value | |
|---|---|
| Type | Description |
Capability |
|
PROSPECTIVE_SEARCH
public static final Capability PROSPECTIVE_SEARCHAvailability of the ProspectiveSearchService.
| Field Value | |
|---|---|
| Type | Description |
Capability |
|
TASKQUEUE
public static final Capability TASKQUEUEAvailability of TaskQueueService.
| Field Value | |
|---|---|
| Type | Description |
Capability |
|
URL_FETCH
public static final Capability URL_FETCHAvailability of the URLFetchService.
| Field Value | |
|---|---|
| Type | Description |
Capability |
|
XMPP
public static final Capability XMPPAvailability 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 |
Stringname 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 |
Stringname of the package associated with this capability. |
name |
Stringname of the capability. |
Methods
equals(Object x)
public boolean equals(Object x)| Parameter | |
|---|---|
| Name | Description |
x |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
toString()
public String toString()| Returns | |
|---|---|
| Type | Description |
String |
|