# io.github.libtmux.internal.support.Capabilities.Capability

- **Module:** io.github.libtmux.internal.support
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/5f88402151ff08fc0390dd438b90963692ec3fe4/libtmux/src/main/java/io/github/libtmux/internal/support/Capabilities.java#L51
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-internal-support-capabilities-capabilities-capability/

```
io.github.libtmux.internal.support.Capabilities.Capability(
  id: String,
  name: String,
  summary: String,
  since: TmuxVersion,
  except: List<TmuxVersion>,
  handling: Handling,
  error: String,
  apis: List<String>,
  commands: List<Command>
)
```

A feature that exists from one release on.

## Parameters

- `id` (`String`)
- `name` (`String`)
- `summary` (`String`)
- `since` (`TmuxVersion`): the first release that has it
- `except` (`List<TmuxVersion>`): exact releases at or above {@code since} that do not
- `handling` (`Handling`)
- `error` (`String`): the simple name of the exception a refusal raises, when {@code handling} is {@link Handling#REFUSE}
- `apis` (`List<String>`): the public API names that need it, as the generated API reference spells them
- `commands` (`List<Command>`)

## Members

### Other members

- [`apis`](/en/java/latest/reference/io-github-libtmux-internal-support-capabilities-capabilities-capability-apis/) (method): the public API names that need it, as the generated API reference spells them
- [`availableOn`](/en/java/latest/reference/io-github-libtmux-internal-support-capabilities-capabilities-capability-availableon/) (method): Whether the daemon has the behaviour.
- [`commands`](/en/java/latest/reference/io-github-libtmux-internal-support-capabilities-capabilities-capability-commands/) (method)
- [`error`](/en/java/latest/reference/io-github-libtmux-internal-support-capabilities-capabilities-capability-error/) (method): the simple name of the exception a refusal raises, when {@code handling} is {@link Handling#REFUSE}
- [`except`](/en/java/latest/reference/io-github-libtmux-internal-support-capabilities-capabilities-capability-except/) (method): exact releases at or above {@code since} that do not
- [`handling`](/en/java/latest/reference/io-github-libtmux-internal-support-capabilities-capabilities-capability-handling/) (method)
- [`id`](/en/java/latest/reference/io-github-libtmux-internal-support-capabilities-capabilities-capability-id/) (method)
- [`name`](/en/java/latest/reference/io-github-libtmux-internal-support-capabilities-capabilities-capability-name/) (method)
- [`since`](/en/java/latest/reference/io-github-libtmux-internal-support-capabilities-capabilities-capability-since/) (method): the first release that has it
- [`summary`](/en/java/latest/reference/io-github-libtmux-internal-support-capabilities-capabilities-capability-summary/) (method)
