1
0
mirror of https://github.com/DanilaFe/abacus synced 2026-01-10 01:05:20 +00:00

Add comments to the new configuration classes.

This commit is contained in:
2017-09-11 18:15:40 -07:00
parent 21b7bd5e2b
commit 5aba5c350b
2 changed files with 45 additions and 0 deletions

View File

@@ -1,7 +1,20 @@
package org.nwapw.abacus.config
/**
* A class that holds information that tells Abacus how to behave.
*
* Configuration stores information about how Abacus should behave, for
* instance, what number implementation it should use and what
* plugins should be ignored during loading.
*
* @property numberImplementation the number implementation Abacus should use for loading.
* @param disabledPlugins the plugins that should be disabled and not loaded by the plugin manager.
*/
open class Configuration(var numberImplementation: String = "<default>", disabledPlugins: Array<String> = emptyArray()) {
/**
* The set of disabled plugins that should be ignored by the plugin manager.
*/
val disabledPlugins = disabledPlugins.toMutableSet()
}