class Validation extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Validation
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Validation(platform: Platform)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def aggregatedReport: List[AMFValidationResult]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def computeValidations(profileName: String): EffectiveValidations
- def disableValidations[T]()(f: () ⇒ T): T
- def enabled: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
loadDialectValidationProfile(dialect: Dialect): Unit
Loads a validation profile generated out of a RAML Dialect
Loads a validation profile generated out of a RAML Dialect
- dialect
RAML dialect to be parsed as a Validation Profile
-
def
loadValidationDialect(): Future[Dialect]
Loads the validation dialect from the provided URL
- def loadValidationProfile(validationProfilePath: String): Future[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- var profile: Option[ValidationProfile]
-
def
reportConstraintFailure(level: String, validationId: String, targetNode: String, targetProperty: Option[String] = None, message: String = "", position: Option[LexicalInformation] = None): Unit
Client code can use this function to register a new validation failure
- def reset(): Unit
- def shapesGraph(validations: EffectiveValidations, messageStyle: String = ProfileNames.RAML): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val url: String
- def validate(model: BaseUnit, profileName: String, messageStyle: String = ProfileNames.RAML): Future[AMFValidationReport]
- val validator: AMFValidatorPlugin.type
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withEnabledValidation(enabled: Boolean): Validation