com.commercetools.rmf.validators.ModulesRule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ctp-validators Show documentation
Show all versions of ctp-validators Show documentation
RAML API client code generators based on the REST Modeling Framework. https://github.com/vrapio/rest-modeling-framework
package com.commercetools.rmf.validators
import io.vrap.rmf.raml.model.modules.util.ModulesSwitch
import org.eclipse.emf.common.util.Diagnostic
import org.eclipse.emf.ecore.EObject
abstract class ModulesRule(override val severity: RuleSeverity = RuleSeverity.ERROR, val options: List? = null) : ModulesSwitch>(), DiagnosticsAware, Validator {
override fun defaultCase(`object`: EObject?): List {
return emptyList()
}
override fun ValidatorType() = ModulesValidator::class.java
}