[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[[["\u003cp\u003e\u003ccode\u003eCapability\u003c/code\u003e class represents a feature or set of features available on the App Engine platform.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCapabilitiesService\u003c/code\u003e API can be used to determine the availability of specific capabilities.\u003c/p\u003e\n"],["\u003cp\u003eSeveral static fields like \u003ccode\u003eBLOBSTORE\u003c/code\u003e, \u003ccode\u003eDATASTORE\u003c/code\u003e, \u003ccode\u003eIMAGES\u003c/code\u003e, and \u003ccode\u003eMAIL\u003c/code\u003e represent the availability of their corresponding App Engine services, though some are deprecated.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available to create \u003ccode\u003eCapability\u003c/code\u003e instances by specifying a package name or a package name and capability name.\u003c/p\u003e\n"],["\u003cp\u003eMethods such as \u003ccode\u003egetName()\u003c/code\u003e, \u003ccode\u003egetPackageName()\u003c/code\u003e, \u003ccode\u003eequals(Object x)\u003c/code\u003e, \u003ccode\u003ehashCode()\u003c/code\u003e, and \u003ccode\u003etoString()\u003c/code\u003e provide ways to interact with and get information about capability instances.\u003c/p\u003e\n"]]],[],null,["# Class Capability (2.0.0)\n\n public class Capability\n\nA capability represents a particular feature or set of features\navailable on the App Engine platform.\n\nTo check the availability of a particular capability, use the\n[CapabilitiesService](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.capabilities.CapabilitiesService) API. \n\nInheritance\n-----------\n\n[Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e Capability \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nStatic Fields\n-------------\n\n### BLOBSTORE (deprecated)\n\n public static final Capability BLOBSTORE\n\n**Deprecated.** *This service will always be reported as being available.*\n\nAvailability of BlobstoreService.\n\n### DATASTORE (deprecated)\n\n public static final Capability DATASTORE\n\n**Deprecated.** *This service will always be reported as being available. If*\n\nAvailability of the datastore.\n\n### DATASTORE_WRITE\n\n public static final Capability DATASTORE_WRITE\n\nAvailability of datastore writes.\n\n### IMAGES\n\n public static final Capability IMAGES\n\nAvailability of the ImagesService.\n\n### MAIL\n\n public static final Capability MAIL\n\nAvailability of theMailService.\n\n### MEMCACHE\n\n public static final Capability MEMCACHE\n\nAvailability ofMemcacheService.\n\n### PROSPECTIVE_SEARCH\n\n public static final Capability PROSPECTIVE_SEARCH\n\nAvailability of the ProspectiveSearchService.\n\n### TASKQUEUE\n\n public static final Capability TASKQUEUE\n\nAvailability of TaskQueueService.\n\n### URL_FETCH\n\n public static final Capability URL_FETCH\n\nAvailability of the URLFetchService.\n\n### XMPP\n\n public static final Capability XMPP\n\nAvailability of the XMPPService.\n\nConstructors\n------------\n\n### Capability(String packageName)\n\n public Capability(String packageName)\n\nCreates a new instance of a Capability.\n\n### Capability(String packageName, String name)\n\n public Capability(String packageName, String name)\n\nCreates a new instance of a Capability.\n\nMethods\n-------\n\n### equals(Object x)\n\n public boolean equals(Object x)\n\n**Overrides** \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-)\n\n### getName()\n\n public String getName()\n\nReturns the name associated with this capability.\n\n### getPackageName()\n\n public String getPackageName()\n\nReturns the package name associated with this capability.\n\n### hashCode()\n\n public int hashCode()\n\n**Overrides** \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--)\n\n### toString()\n\n public String toString()\n\n**Overrides** \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--)"]]