Class InstanceMatch.Builder<B extends InstanceMatch.Builder<?>>
java.lang.Object
com.tick42.glue.core.interop.discovery.InstanceMatch.Builder<B>
- Direct Known Subclasses:
ServerQuery
- Enclosing class:
- InstanceMatch
-
Method Summary
Modifier and TypeMethodDescriptionapplication(String application) application(Predicate<String> application) build()localOnly(boolean localOnly) Flag whether or not the search should include remote instances.Can be used to guarantee specific fields within the instance match.
-
Method Details
-
application
-
application
-
query
Can be used to guarantee specific fields within the instance match.- Parameters:
query- contains fields to be matched- Returns:
- this builder, never
null - Since:
- 1.3
-
user
-
user
-
machine
-
machine
-
localOnly
Flag whether or not the search should include remote instances.trueis the default setting and only includes local instances in the search. Likewise,falseoverrides it and expands the search to include remote instances.- Parameters:
localOnly- if only local instances should be considered in search- Returns:
- this builder, never
null - Since:
- 1.3
-
build
-
asMatchPredicate
-