public class Capability
extends java.lang.Object
CapabilitiesService
API.Modifier and Type | Field and Description |
---|---|
static Capability |
BLOBSTORE
Deprecated.
This service will always be reported as being available.
|
static Capability |
DATASTORE
Deprecated.
This service will always be reported as being available. If
|
static Capability |
DATASTORE_WRITE
Availability of datastore writes.
|
static Capability |
IMAGES
Availability of the ImagesService.
|
static Capability |
MAIL
Availability of theMailService.
|
static Capability |
MEMCACHE
Availability ofMemcacheService.
|
static Capability |
PROSPECTIVE_SEARCH
Availability of the ProspectiveSearchService.
|
static Capability |
TASKQUEUE
Availability of TaskQueueService.
|
static Capability |
URL_FETCH
Availability of the URLFetchService.
|
static Capability |
XMPP
Availability of the XMPPService.
|
Constructor and Description |
---|
Capability(java.lang.String packageName)
Creates a new instance of a Capability.
|
Capability(java.lang.String packageName,
java.lang.String name)
Creates a new instance of a Capability.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object x) |
java.lang.String |
getName()
Returns the name associated with this capability.
|
java.lang.String |
getPackageName()
Returns the package name associated with this capability.
|
int |
hashCode() |
java.lang.String |
toString() |
@Deprecated public static final Capability BLOBSTORE
@Deprecated public static final Capability DATASTORE
public static final Capability DATASTORE_WRITE
public static final Capability IMAGES
public static final Capability MAIL
public static final Capability PROSPECTIVE_SEARCH
public static final Capability MEMCACHE
public static final Capability TASKQUEUE
public static final Capability URL_FETCH
public static final Capability XMPP
public Capability(java.lang.String packageName)
packageName
- name of the package associated with this capability.public Capability(java.lang.String packageName, java.lang.String name)
packageName
- name of the package associated with this capability.name
- name of the capability.public java.lang.String getPackageName()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object x)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object