Skip to content

Modifiers

Mazen Kotb edited this page Jul 6, 2016 · 2 revisions

Transient

ConfigAPI makes use of the transient modifier as the Java serializer does, if the modifier is applied to the field, it is ignored in all serialization.

@RequiredField Annotation

If @RequiredField is applied to any field and it does not exist in the config file, the API will throw InvalidConfigurationException thus interrupting code execution.

Clone this wiki locally