Package com.enonic.xp.app

## Class ApplicationWildcardMatcher<T>

- java.lang.Object
- - com.enonic.xp.app.ApplicationWildcardMatcher<T>

-     public final class ApplicationWildcardMatcher<T>
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `ApplicationWildcardMatcher.Mode` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ApplicationWildcardMatcher​(ApplicationKey applicationKey, Function<T,​String> toNameFunction)` |
    `ApplicationWildcardMatcher​(ApplicationKey applicationKey, Function<T,​String> toNameFunction, ApplicationWildcardMatcher.Mode mode)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Predicate<T>` | `createPredicate​(String wildcard)` |
    `boolean` | `matches​(String wildcard, T input)` |

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

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

- - ### Constructor Detail

    - #### ApplicationWildcardMatcher

          public ApplicationWildcardMatcher​(ApplicationKey applicationKey,
                                            Function<T,​String> toNameFunction)

    - #### ApplicationWildcardMatcher

          public ApplicationWildcardMatcher​(ApplicationKey applicationKey,
                                            Function<T,​String> toNameFunction,
                                            ApplicationWildcardMatcher.Mode mode)

  - ### Method Detail

    - #### matches

          public boolean matches​(String wildcard,
                                 T input)

    - #### createPredicate

          public Predicate<T> createPredicate​(String wildcard)