Package graphql.schema.idl
Class MapEnumValuesProvider
- java.lang.Object
-
- graphql.schema.idl.MapEnumValuesProvider
-
- All Implemented Interfaces:
EnumValuesProvider
@PublicApi public class MapEnumValuesProvider extends java.lang.Object implements EnumValuesProvider
-
-
Constructor Summary
Constructors Constructor Description MapEnumValuesProvider(java.util.Map<java.lang.String,java.lang.Object> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getValue(java.lang.String name)
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue(java.lang.String name)
- Specified by:
getValue
in interfaceEnumValuesProvider
- Parameters:
name
- an Enum value- Returns:
- not null
-
-