Class KoraGraphModification
java.lang.Object
ru.tinkoff.kora.test.extension.junit5.KoraGraphModification
-
Method Summary
Modifier and TypeMethodDescriptionaddComponent(Type typeToAdd, Function<KoraAppGraph, T> instanceSupplier) Component that should be added to Graph ContextaddComponent(Type typeToAdd, Supplier<T> instanceSupplier) Component that should be added to Graph ContextaddComponent(Type typeToAdd, List<Class<?>> tags, Function<KoraAppGraph, T> instanceSupplier) Component that should be added to Graph ContextaddComponent(Type typeToAdd, List<Class<?>> tags, Supplier<T> instanceSupplier) Component that should be added to Graph Contextstatic KoraGraphModificationcreate()booleaninthashCode()replaceComponent(Type typeToReplace, Function<KoraAppGraph, ? extends T> replacementSupplier) Component that should replace existing one with new onereplaceComponent(Type typeToReplace, Supplier<? extends T> replacementSupplier) Component that should replace existing one with new onereplaceComponent(Type typeToReplace, List<Class<?>> tags, Function<KoraAppGraph, ? extends T> replacementSupplier) Component that should replace existing one with new onereplaceComponent(Type typeToReplace, List<Class<?>> tags, Supplier<? extends T> replacementSupplier) Component that should replace existing one with new one
-
Method Details
-
create
-
addComponent
@Nonnull public <T> KoraGraphModification addComponent(@Nonnull Type typeToAdd, @Nonnull Supplier<T> instanceSupplier) Component that should be added to Graph Context -
addComponent
@Nonnull public <T> KoraGraphModification addComponent(@Nonnull Type typeToAdd, @Nonnull List<Class<?>> tags, @Nonnull Supplier<T> instanceSupplier) Component that should be added to Graph Context -
addComponent
@Nonnull public <T> KoraGraphModification addComponent(@Nonnull Type typeToAdd, @Nonnull Function<KoraAppGraph, T> instanceSupplier) Component that should be added to Graph Context -
addComponent
@Nonnull public <T> KoraGraphModification addComponent(@Nonnull Type typeToAdd, @Nonnull List<Class<?>> tags, @Nonnull Function<KoraAppGraph, T> instanceSupplier) Component that should be added to Graph Context -
replaceComponent
@Nonnull public <T> KoraGraphModification replaceComponent(@Nonnull Type typeToReplace, @Nonnull Supplier<? extends T> replacementSupplier) Component that should replace existing one with new one -
replaceComponent
@Nonnull public <T> KoraGraphModification replaceComponent(@Nonnull Type typeToReplace, @Nonnull List<Class<?>> tags, @Nonnull Supplier<? extends T> replacementSupplier) Component that should replace existing one with new one -
replaceComponent
@Nonnull public <T> KoraGraphModification replaceComponent(@Nonnull Type typeToReplace, @Nonnull Function<KoraAppGraph, ? extends T> replacementSupplier) Component that should replace existing one with new one -
replaceComponent
@Nonnull public <T> KoraGraphModification replaceComponent(@Nonnull Type typeToReplace, @Nonnull List<Class<?>> tags, @Nonnull Function<KoraAppGraph, ? extends T> replacementSupplier) Component that should replace existing one with new one -
equals
-
hashCode
public int hashCode()
-