Package com.enonic.xp.site.mapping

## Class ContentMappingConstraint

- java.lang.Object
- - com.enonic.xp.site.mapping.ContentMappingConstraint

-     @PublicApi
      public final class ContentMappingConstraint
      extends Object

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `equals​(Object o)` |
    `int` | `hashCode()` |
    `boolean` | `matches​(Content content)` |
    `static ContentMappingConstraint` | `parse​(String expression)` |
    `String` | `toString()` |

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### matches

          public boolean matches​(Content content)

    - #### parse

          public static ContentMappingConstraint parse​(String expression)

    - #### equals

          public boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`