Packages

package validation

validation

This package contains stanard validators that can be used by format and archetype plugins.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. validation
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. 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

  2. final case class ValidationError(description: String, howToFix: String) extends ValidationResult with Product with Serializable
  3. trait ValidationKeys extends AnyRef
  4. sealed trait ValidationResult extends AnyRef
  5. final case class ValidationWarning(description: String, howToFix: String) extends ValidationResult with Product with Serializable

Value Members

  1. def checkMaintainer(maintainer: String, asWarning: Boolean): Validator
  2. def epochIsNaturalNumber(epoch: Int): Validator
  3. def filesExist(mappings: Seq[(sbt.File, String)]): Validator

  4. 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

  5. object Validation extends Serializable
  6. object ValidationKeys extends ValidationKeys

Inherited from AnyRef

Inherited from Any

Ungrouped