org.apache.tapestry5.internal.services.compatibility

## Class CompatibilityImpl

- java.lang.Object
- - org.apache.tapestry5.internal.services.compatibility.CompatibilityImpl

- All Implemented Interfaces:
    Compatibility

      public class CompatibilityImpl
      extends Object
      implements Compatibility

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CompatibilityImpl(Map<Trait,Boolean> configuration)`

  - ### Method Summary

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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CompatibilityImpl

          public CompatibilityImpl(Map<Trait,Boolean> configuration)

  - ### Method Detail

    - #### enabled

          public boolean enabled(Trait trait)

      Description copied from interface: `Compatibility`
      Returns true if the indicated compatibility trait is enabled.
      Specified by:
        `enabled` in interface `Compatibility`
      Returns:
        true if enabled, false otherwise

5.6.1 - Copyright © 2003-2020 The Apache Software Foundation.