CourseConfig

Types

Link copied to clipboard
data class JSON(val id: String, val name: String, val aPlusUrl: URL, val languages: List<String>, val resources: Map<String, URL>, val vmOptions: Map<String, String>? = null, val autoInstall: List<String>? = null, val repl: CourseConfig.REPL? = null, val modules: List<CourseConfig.Module>, val exerciseModules: Map<String, Map<String, String>>, val hiddenElements: List<Long>? = null)

This class serves as the serializer and documentation for the course configuration file.

Link copied to clipboard
data class Module(val name: String, val url: URL, val language: String? = null, val version: Version? = null, val changelog: String? = null)
Link copied to clipboard
data class REPL(val initialCommands: Map<String, List<String>>? = null, val arguments: String? = null)
Link copied to clipboard
Link copied to clipboard