org.hibernate.search.engine.spi

## Class ContainedInRecursionContext

- java.lang.Object
- - org.hibernate.search.engine.spi.ContainedInRecursionContext

-     public class ContainedInRecursionContext
      extends Object

  Used to check the constraints of depth when using `IndexedEmbedded` or `ContainedIn` annotations.
  Author:
    Davide D'Alto, Yoann Rodiere

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ContainedInRecursionContext(int maxDepth, int depth, Set<String> comprehensivePaths)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<String>` | `getComprehensivePaths()`
    `int` | `getDepth()`
    `int` | `getMaxDepth()`
    `boolean` | `isTerminal()`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### ContainedInRecursionContext

          public ContainedInRecursionContext(int maxDepth,
                                             int depth,
                                             Set<String> comprehensivePaths)

  - ### Method Detail

    - #### getMaxDepth

          public int getMaxDepth()

    - #### getDepth

          public int getDepth()

    - #### getComprehensivePaths

          public Set<String> getComprehensivePaths()

    - #### isTerminal

          public boolean isTerminal()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved