com.commercetools.rmf.validators.ResourcesRule.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.resources.util.ResourcesSwitch
import org.eclipse.emf.common.util.Diagnostic
import org.eclipse.emf.ecore.EObject
abstract class ResourcesRule(override val severity: RuleSeverity = RuleSeverity.ERROR, val options: List? = null) : ResourcesSwitch>(), DiagnosticsAware, Validator {
override fun defaultCase(`object`: EObject?): List {
return emptyList()
}
override fun ValidatorType() = ResourcesValidator::class.java
}