override fun process()

in server/src/main/kotlin/org/jetbrains/teamcity/sccache/SCCacheProjectFeatureProvider.kt [26:32]


            override fun process(properties: MutableMap<String, String>): Collection<InvalidProperty> {
                val config = getBackendConfigFromFeatureParameters(properties)
                        ?: return listOf(InvalidProperty(ProjectFeatureSettings.BACKEND_TYPE, "Should be specified"))
                val errors = HashMap<String, String>()
                config.validate(errors)
                return errors.map { (name, msg) -> InvalidProperty(name, msg) }
            }