Class Capability
- java.lang.Object
-
- com.google.appengine.api.capabilities.Capability
-
public class Capability extends Object
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 theCapabilitiesServiceAPI.
-
-
Field Summary
Fields Modifier and Type Field Description static CapabilityBLOBSTOREDeprecated.This service will always be reported as being available.static CapabilityDATASTOREDeprecated.This service will always be reported as being available.static CapabilityDATASTORE_WRITEAvailability of datastore writes.static CapabilityIMAGESAvailability of the ImagesService.static CapabilityMAILAvailability of theMailService.static CapabilityMEMCACHEAvailability ofMemcacheService.static CapabilityPROSPECTIVE_SEARCHAvailability of the ProspectiveSearchService.static CapabilityTASKQUEUEAvailability of TaskQueueService.static CapabilityURL_FETCHAvailability of the URLFetchService.static CapabilityXMPPAvailability of the XMPPService.
-
Constructor Summary
Constructors Constructor Description Capability(String packageName)Creates a new instance of a Capability.Capability(String packageName, String name)Creates a new instance of a Capability.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object x)StringgetName()Returns the name associated with this capability.StringgetPackageName()Returns the package name associated with this capability.inthashCode()StringtoString()
-
-
-
Field Detail
-
BLOBSTORE
@Deprecated public static final Capability BLOBSTORE
Deprecated.This service will always be reported as being available.Availability of BlobstoreService.
-
DATASTORE
@Deprecated public static final Capability DATASTORE
Deprecated.This service will always be reported as being available. IfAvailability of the datastore.
-
DATASTORE_WRITE
public static final Capability DATASTORE_WRITE
Availability of datastore writes.
-
IMAGES
public static final Capability IMAGES
Availability of the ImagesService.
-
MAIL
public static final Capability MAIL
Availability of theMailService.
-
PROSPECTIVE_SEARCH
public static final Capability PROSPECTIVE_SEARCH
Availability of the ProspectiveSearchService.
-
MEMCACHE
public static final Capability MEMCACHE
Availability ofMemcacheService.
-
TASKQUEUE
public static final Capability TASKQUEUE
Availability of TaskQueueService.
-
URL_FETCH
public static final Capability URL_FETCH
Availability of the URLFetchService.
-
XMPP
public static final Capability XMPP
Availability of the XMPPService.
-
-
Constructor Detail
-
Capability
public Capability(String packageName)
Creates a new instance of a Capability.- Parameters:
packageName- name of the package associated with this capability.
-
-
Method Detail
-
getPackageName
public String getPackageName()
Returns the package name associated with this capability.- Returns:
- the package name associated with this capability.
-
getName
public String getName()
Returns the name associated with this capability.- Returns:
- the name associated with this capability.
-
-