# Interface CapabilitiesService (5.0.3)

    public interface CapabilitiesService

Allows applications to identify API outages. This service is **deprecated** except for the
specific case of querying whether datastore writes are enabled.

## Methods

### getStatus(Capability capability)

    public abstract CapabilityState getStatus(Capability capability)

Returns the status of a capability.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `capability` | `https://docs.cloud.google.com/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.capabilities.Capability` a capability to check status for. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.capabilities.CapabilityState` | the status of a capability. |