Interface Factory<I,​O>

Type Parameters:
I -
O -
All Superinterfaces:
DataFetchingConversion<I,​O>

public interface Factory<I,​O>
extends DataFetchingConversion<I,​O>
Factory that can create an object based on the current environment and a source.
  • Method Summary

    Modifier and Type Method Description
    se.l4.commons.types.reflect.TypeRef getInput()
    Get the type of input this factory takes.
    se.l4.commons.types.reflect.TypeRef getOutput()
    Get the type of object this factory creates.

    Methods inherited from interface se.l4.graphql.binding.resolver.DataFetchingConversion

    and, convert
  • Method Details

    • getInput

      se.l4.commons.types.reflect.TypeRef getInput()
      Get the type of input this factory takes.
      Returns:
    • getOutput

      se.l4.commons.types.reflect.TypeRef getOutput()
      Get the type of object this factory creates.
      Returns: