public final class ConfigInterface extends Object implements ConfigType
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigInterface.ConfigField |
ConfigType.Conversions| Constructor and Description |
|---|
ConfigInterface(Class<?> configInterface,
Map<String,ConfigInterface.ConfigField> fields) |
| Modifier and Type | Method and Description |
|---|---|
Object |
coerce(org.yaml.snakeyaml.nodes.Node node) |
boolean |
equals(Object o) |
Class<?> |
getConfigInterface() |
Map<String,ConfigInterface.ConfigField> |
getFields() |
ConfigString |
getKeyType() |
int |
hashCode() |
static String |
name(Method method) |
String |
toString() |
void |
typeCheck(org.yaml.snakeyaml.nodes.Node node) |
public ConfigInterface(Class<?> configInterface, Map<String,ConfigInterface.ConfigField> fields)
public Object coerce(org.yaml.snakeyaml.nodes.Node node)
coerce in interface ConfigTypepublic void typeCheck(org.yaml.snakeyaml.nodes.Node node)
throws ConfigTypeErrorException
typeCheck in interface ConfigTypeConfigTypeErrorExceptionpublic ConfigString getKeyType()
public Class<?> getConfigInterface()
public Map<String,ConfigInterface.ConfigField> getFields()
Copyright © 2020. All rights reserved.