Package graphql.schema.idl
Interface EnumValuesProvider
-
- All Known Implementing Classes:
MapEnumValuesProvider
,NaturalEnumValuesProvider
@PublicSpi public interface EnumValuesProvider
Provides the Java runtime value for each graphql Enum value. Used for IDL driven schema creation.Enum values are considered static: This is called when a schema is created. It is not used when a query is executed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
getValue(java.lang.String name)
-