package validation
validation
This package contains stanard validators that can be used by format and archetype plugins.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- validation
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
final
case class
Validation(errors: List[ValidationError], warnings: List[ValidationWarning]) extends Product with Serializable
Validation result.
Validation result.
- errors
all errors that were found during the validation
- warnings
all warnings that were found during the validation
- final case class ValidationError(description: String, howToFix: String) extends ValidationResult with Product with Serializable
- trait ValidationKeys extends AnyRef
- sealed trait ValidationResult extends AnyRef
- final case class ValidationWarning(description: String, howToFix: String) extends ValidationResult with Product with Serializable
Value Members
- def checkMaintainer(maintainer: String, asWarning: Boolean): Validator
- def epochIsNaturalNumber(epoch: Int): Validator
- def filesExist(mappings: Seq[(sbt.File, String)]): Validator
-
def
nonEmptyMappings(mappings: Seq[(sbt.File, String)]): Validator
Basic validator to check if the resulting package will be empty or not.
Basic validator to check if the resulting package will be empty or not.
- mappings
the mappings that should be validated
- returns
a validator that checks if the mappins are empty
- object Validation extends Serializable
- object ValidationKeys extends ValidationKeys