AssemblerConfig<T,ID,C,R,RC>
public class CoreAssemblerConfig<T,ID,C extends java.util.Collection<T>,R,RC> extends java.lang.Object implements AssemblerConfig<T,ID,C,R,RC>
Constructor | Description |
---|---|
CoreAssemblerConfig(io.github.pellse.util.function.checked.CheckedSupplier<C,java.lang.Throwable> topLevelEntitiesProvider,
java.util.function.Function<T,ID> idExtractor,
java.util.function.Function<java.lang.Throwable,java.lang.RuntimeException> errorConverter,
AssemblerAdapter<ID,R,RC> assemblerAdapter) |
Modifier and Type | Method | Description |
---|---|---|
static <T,ID,C extends java.util.Collection<T>,R,RC> |
from(C topLevelEntities,
java.util.function.Function<T,ID> idExtractor,
AssemblerAdapter<ID,R,RC> assemblerAdapter) |
|
static <T,ID,C extends java.util.Collection<T>,R,RC> |
from(C topLevelEntities,
java.util.function.Function<T,ID> idExtractor,
java.util.function.Function<java.lang.Throwable,java.lang.RuntimeException> errorConverter,
AssemblerAdapter<ID,R,RC> assemblerAdapter) |
|
static <T,ID,C extends java.util.Collection<T>,R,RC> |
from(io.github.pellse.util.function.checked.CheckedSupplier<C,java.lang.Throwable> topLevelEntitiesProvider,
java.util.function.Function<T,ID> idExtractor,
AssemblerAdapter<ID,R,RC> assemblerAdapter) |
|
static <T,ID,C extends java.util.Collection<T>,R,RC> |
from(io.github.pellse.util.function.checked.CheckedSupplier<C,java.lang.Throwable> topLevelEntitiesProvider,
java.util.function.Function<T,ID> idExtractor,
java.util.function.Function<java.lang.Throwable,java.lang.RuntimeException> errorConverter,
AssemblerAdapter<ID,R,RC> assemblerAdapter) |
|
static <T,ID,R,RC> |
from(java.util.List<T> topLevelEntities,
java.util.function.Function<T,ID> idExtractor,
AssemblerAdapter<ID,R,RC> assemblerAdapter) |
|
static <T,ID,R,RC> |
fromSupplier(io.github.pellse.util.function.checked.CheckedSupplier<java.util.List<T>,java.lang.Throwable> topLevelEntitiesProvider,
java.util.function.Function<T,ID> idExtractor,
AssemblerAdapter<ID,R,RC> assemblerAdapter) |
|
AssemblerAdapter<ID,R,RC> |
getAssemblerAdapter() |
|
java.util.function.Function<java.lang.Throwable,java.lang.RuntimeException> |
getErrorConverter() |
|
java.util.function.Function<T,ID> |
getIdExtractor() |
|
io.github.pellse.util.function.checked.CheckedSupplier<C,java.lang.Throwable> |
getTopLevelEntitiesProvider() |
public CoreAssemblerConfig(io.github.pellse.util.function.checked.CheckedSupplier<C,java.lang.Throwable> topLevelEntitiesProvider, java.util.function.Function<T,ID> idExtractor, java.util.function.Function<java.lang.Throwable,java.lang.RuntimeException> errorConverter, AssemblerAdapter<ID,R,RC> assemblerAdapter)
public io.github.pellse.util.function.checked.CheckedSupplier<C,java.lang.Throwable> getTopLevelEntitiesProvider()
getTopLevelEntitiesProvider
in interface AssemblerConfig<T,ID,C extends java.util.Collection<T>,R,RC>
public java.util.function.Function<T,ID> getIdExtractor()
getIdExtractor
in interface AssemblerConfig<T,ID,C extends java.util.Collection<T>,R,RC>
public java.util.function.Function<java.lang.Throwable,java.lang.RuntimeException> getErrorConverter()
getErrorConverter
in interface AssemblerConfig<T,ID,C extends java.util.Collection<T>,R,RC>
public AssemblerAdapter<ID,R,RC> getAssemblerAdapter()
getAssemblerAdapter
in interface AssemblerConfig<T,ID,C extends java.util.Collection<T>,R,RC>
public static <T,ID,R,RC> CoreAssemblerConfig<T,ID,java.util.List<T>,R,RC> from(java.util.List<T> topLevelEntities, java.util.function.Function<T,ID> idExtractor, AssemblerAdapter<ID,R,RC> assemblerAdapter)
public static <T,ID,C extends java.util.Collection<T>,R,RC> CoreAssemblerConfig<T,ID,C,R,RC> from(C topLevelEntities, java.util.function.Function<T,ID> idExtractor, AssemblerAdapter<ID,R,RC> assemblerAdapter)
public static <T,ID,C extends java.util.Collection<T>,R,RC> CoreAssemblerConfig<T,ID,C,R,RC> from(C topLevelEntities, java.util.function.Function<T,ID> idExtractor, java.util.function.Function<java.lang.Throwable,java.lang.RuntimeException> errorConverter, AssemblerAdapter<ID,R,RC> assemblerAdapter)
public static <T,ID,R,RC> CoreAssemblerConfig<T,ID,java.util.List<T>,R,RC> fromSupplier(io.github.pellse.util.function.checked.CheckedSupplier<java.util.List<T>,java.lang.Throwable> topLevelEntitiesProvider, java.util.function.Function<T,ID> idExtractor, AssemblerAdapter<ID,R,RC> assemblerAdapter)
public static <T,ID,C extends java.util.Collection<T>,R,RC> CoreAssemblerConfig<T,ID,C,R,RC> from(io.github.pellse.util.function.checked.CheckedSupplier<C,java.lang.Throwable> topLevelEntitiesProvider, java.util.function.Function<T,ID> idExtractor, AssemblerAdapter<ID,R,RC> assemblerAdapter)
public static <T,ID,C extends java.util.Collection<T>,R,RC> CoreAssemblerConfig<T,ID,C,R,RC> from(io.github.pellse.util.function.checked.CheckedSupplier<C,java.lang.Throwable> topLevelEntitiesProvider, java.util.function.Function<T,ID> idExtractor, java.util.function.Function<java.lang.Throwable,java.lang.RuntimeException> errorConverter, AssemblerAdapter<ID,R,RC> assemblerAdapter)