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