DockerConfigParsable
Docker-specific implementation of ConfigParsable.
Distro is added to the expanded Context
for use during parsing.
Inheritors
Types
Link copied to clipboard
class Context(config: ConfigT, partialContext: PartialContext, lang: Settings.Lang?, val langDistro: LangDockerfile?, gradeInFull: Boolean, isTASubmission: Boolean, configKeyId: String?) : ConfigParsable.Context
Context with language distro of a LangDockerfile included.
Link copied to clipboard
abstract class LangParsable<Config : ConfigUnit, LangDistro : LangDockerfile>(val stageName: String, val language: String, val langFamilyName: String) : DockerConfigParsable
Shorthand for implementing DockerConfigParsable that has a programming language constraint.
Functions
Link copied to clipboard
open override fun parse(configUnit: ConfigUnit, context: ConfigParsable.Context): ConfigParsable.Parsed
abstract fun parse(configUnit: ConfigUnit, context: DockerConfigParsable.Context): ConfigParsable.Parsed
Template method for parsing method, using the overridden Context.