@PublicApi public class MapEnumValuesProvider extends java.lang.Object implements EnumValuesProvider
Constructor and Description |
---|
MapEnumValuesProvider(java.util.Map<java.lang.String,java.lang.Object> values) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getValue(java.lang.String name) |
public MapEnumValuesProvider(java.util.Map<java.lang.String,java.lang.Object> values)
public java.lang.Object getValue(java.lang.String name)
getValue
in interface EnumValuesProvider
name
- an Enum value