RegexValidationRule

uk.gov.hmrc.apiplatform.modules.subscriptionfields.domain.models.RegexValidationRule
See theRegexValidationRule companion object
case class RegexValidationRule(regex: String) extends ValidationRule

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def validateAgainstRule(fieldValue: String): Boolean

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def validate(fieldValue: FieldValue): Boolean

Attributes

Inherited from:
ValidationRule