public interface ConfigField
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultVal()
Gets the default value of this field.
|
List<String> |
getKeyAliases()
Gets the key aliases of this field which are also recognized during parsing.
|
Class<?> |
getType()
Gets the type of this field.
|
boolean |
isArray()
Checks if this field is an array.
|
boolean |
isEnum()
Checks if this field is of enum type.
|
boolean |
isPath()
Checks if this field is a path.
|
boolean |
isPrimitive()
Checks if this field is of primitive type.
|
boolean |
isRequired()
Checks if this field is required.
|
String |
toKey()
Get the key of this field, which is how this field is represented in serialized form.
|
Object getDefaultVal()
List<String> getKeyAliases()
Class<?> getType()
boolean isArray()
boolean isEnum()
boolean isPath()
boolean isPrimitive()
boolean isRequired()
String toKey()
Copyright © 2015. All rights reserved.