com.jetbrains.plugin.structure.teamcity.problems.ForbiddenWordInPluginName.kt Maven / Gradle / Ivy
/*
* Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package com.jetbrains.plugin.structure.teamcity.problems
import com.jetbrains.plugin.structure.base.problems.PluginProblem
class ForbiddenWordInPluginName(private val forbiddenWords: List) : PluginProblem() {
override val level
get() = Level.ERROR
override val message
get() = "The plugin name should not contain the following words: ${forbiddenWords.joinToString()}."
}