Package stroom.query.audit.client
Class QueryRemoteServiceSupplier
- java.lang.Object
-
- stroom.query.audit.client.QueryRemoteServiceSupplier
-
- All Implemented Interfaces:
java.util.function.Function<java.lang.String,java.util.Optional<QueryService>>
,QueryServiceSupplier
public class QueryRemoteServiceSupplier extends java.lang.Object implements QueryServiceSupplier
-
-
Method Summary
Modifier and Type Method Description java.util.Optional<QueryService>
apply(java.lang.String s)
static QueryRemoteServiceSupplier
forUrls(java.util.Map<java.lang.String,java.lang.String> urlsByType)
static QueryRemoteServiceSupplier
forUrlsWrapped(java.util.Map<java.lang.String,java.lang.String> urlsByType, java.util.function.Function<QueryService,QueryService> wrapper)
-
-
-
Method Detail
-
forUrls
public static QueryRemoteServiceSupplier forUrls(java.util.Map<java.lang.String,java.lang.String> urlsByType)
-
forUrlsWrapped
public static QueryRemoteServiceSupplier forUrlsWrapped(java.util.Map<java.lang.String,java.lang.String> urlsByType, java.util.function.Function<QueryService,QueryService> wrapper)
-
apply
public java.util.Optional<QueryService> apply(java.lang.String s)
- Specified by:
apply
in interfacejava.util.function.Function<java.lang.String,java.util.Optional<QueryService>>
-
-