Package org.apache.tapestry5.services.compatibility

## Interface Compatibility

- All Known Implementing Classes:
    `CompatibilityImpl`

      @UsesMappedConfiguration(key=Trait.class,
                               value=java.lang.Boolean.class)
      public interface Compatibility

  Used globally to track what compatibility traits are enabled. By default, in Tapestry 5.4, all traits are enabled unless explicitly disabled. This behavior may change in Tapestry 5.5. The configuration allows traits to be explicitly enabled or disabled.
  Since:
    5.4

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `enabled​(Trait trait)` | Returns true if the indicated compatibility trait is enabled.

- - ### Method Detail

    - #### enabled

          boolean enabled​(Trait trait)

      Returns true if the indicated compatibility trait is enabled.
      Parameters:
        `trait` -
      Returns:
        true if enabled, false otherwise