Interface KoraAppGraph


public interface KoraAppGraph
ApplicationGraphDraw abstraction for KoraAppTest
  • Method Details

    • getFirst

      @Nullable Object getFirst(@Nonnull Type type)
    • getFirst

      @Nullable Object getFirst(@Nonnull Type type, Class<?>... tags)
      Try to find implementation in Graph by type and tags
      Parameters:
      type - of component to search
      tags - associated with component
      Returns:
      type instance from Graph
    • getFirst

      @Nullable <T> T getFirst(@Nonnull Class<T> type)
    • getFirst

      @Nullable <T> T getFirst(@Nonnull Class<T> type, Class<?>... tags)
      Try to find implementation in Graph by type and tags
      Type Parameters:
      T - type parameter
      Parameters:
      type - of component to search
      tags - associated with component
      Returns:
      type instance from Graph
    • findFirst

      @Nonnull default Optional<Object> findFirst(@Nonnull Type type)
    • findFirst

      @Nonnull default Optional<Object> findFirst(@Nonnull Type type, Class<?>... tags)
      Try to find implementation in Graph by type and tags
      Parameters:
      type - of component to search
      tags - associated with component
      Returns:
      type instance from Graph
    • findFirst

      @Nonnull default <T> Optional<T> findFirst(@Nonnull Class<T> type)
    • findFirst

      @Nonnull default <T> Optional<T> findFirst(@Nonnull Class<T> type, Class<?>... tags)
      Try to find implementation in Graph by type and tags
      Type Parameters:
      T - type parameter
      Parameters:
      type - of component to search
      tags - associated with component
      Returns:
      type instance from Graph
    • getAll

      @Nonnull List<Object> getAll(@Nonnull Type type)
    • getAll

      @Nonnull List<Object> getAll(@Nonnull Type type, Class<?>... tags)
      Try to find implementation in Graph by type using Tag.Any
      Parameters:
      type - of component to search
      tags - associated with component
      Returns:
      component instance from Graph
    • getAll

      @Nonnull <T> List<T> getAll(@Nonnull Class<T> type)
    • getAll

      @Nonnull <T> List<T> getAll(@Nonnull Class<T> type, Class<?>... tags)
      Try to find implementation in Graph by type using Tag.Any
      Type Parameters:
      T - type parameter
      Parameters:
      type - of component to search
      tags - associated with component
      Returns:
      type instance from Graph