MoulConfigProcessor

Constructors

Link copied to clipboard
constructor(configBaseObject: T)

Functions

Link copied to clipboard
open fun beginAccordion(baseObject: Any, field: Field, option: ConfigOption, id: Int)
Link copied to clipboard
open fun beginCategory(baseObject: Any, field: Field, name: String, description: String)
Link copied to clipboard
open fun beginConfig(configClass: Class<out Config>, driver: ConfigProcessorDriver, configObject: Config)
Link copied to clipboard
open fun emitOption(baseObject: Any, field: Field, option: ConfigOption)
Link copied to clipboard
open fun endAccordion()
Link copied to clipboard
open fun endCategory()
Link copied to clipboard
open fun endConfig()
Link copied to clipboard
Link copied to clipboard
open fun getConfigObject(): T
Link copied to clipboard
@Nullable
open fun getOptionFromField(@NotNull field: @NotNull Field): @Nullable ProcessedOption
Link copied to clipboard
open fun popPath()
Link copied to clipboard
open fun pushPath(fieldPath: String)
Link copied to clipboard
open fun <A : Annotation?> registerConfigEditor(annotation: Class<A>, editorGenerator: BiFunction<ProcessedOption, out A, GuiOptionEditor>)
Link copied to clipboard
open fun requireFinalized()
Link copied to clipboard
open fun setCategoryParent(field: Field)
Link copied to clipboard
open fun <T : Config?> withDefaults(configBaseObject: T): MoulConfigProcessor<T>