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