Package 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
  Description
  `CompatibilityImpl(Map<Trait,Boolean> configuration)`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### CompatibilityImpl

    public CompatibilityImpl(Map<Trait,Boolean> configuration)

- ## Method Details

  - ### 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