Package com.tick42.glue.core.interop.discovery

# Class MethodMatch.Builder<B extends MethodMatch.Builder<B>>

java.lang.Object
com.tick42.glue.core.interop.discovery.MethodMatch.Builder<B>

Direct Known Subclasses:
  `MethodQuery`

Enclosing class:
  MethodMatch

    public static class MethodMatch.Builder<B extends MethodMatch.Builder<B>>
    extends Object

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `B` | `localOnly​(boolean localOnly)` | Flag whether or not the search should include remote servers.
  `B` | `name​(String name)` |
  `B` | `name​(Predicate<String> name)` |
  `B` | `nameMatches​(String regex)` |
  `B` | `nameMatches​(Pattern pattern)` |
  `B` | `supportsStreaming()` |
  `B` | `supportsStreaming​(boolean supportsStreaming)` |

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

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

- ## Method Details

  - ### name

    public B name​(String name)

  - ### nameMatches

    public B nameMatches​(String regex)

  - ### nameMatches

    public B nameMatches​(Pattern pattern)

  - ### name

    public B name​(Predicate<String> name)

  - ### supportsStreaming

    public B supportsStreaming()

  - ### supportsStreaming

    public B supportsStreaming​(boolean supportsStreaming)

  - ### localOnly

    public B localOnly​(boolean localOnly)
    Flag whether or not the search should include remote servers. `true` is the default setting and only includes local servers in the search. Likewise, `false` overrides it and expands the search to include remote servers.
    Parameters:
      `localOnly` - flag for the search range
    Returns:
      this builder, never `null`
    Since:
      1.3