Uses of Class
tech.jhipster.lite.shared.error.domain.Assert.StringAsserter
Packages that use Assert.StringAsserter
-
Uses of Assert.StringAsserter in tech.jhipster.lite.shared.error.domain
Methods in tech.jhipster.lite.shared.error.domain that return Assert.StringAsserterModifier and TypeMethodDescriptionstatic Assert.StringAsserterCreate a fluent asserter forStringAssert.StringAsserter.matchesPattern(Pattern pattern) Ensure that the given input value matches the given pattern<X extends RuntimeException>
Assert.StringAsserterAssert.StringAsserter.matchesPatternOrThrow(Pattern pattern, Supplier<X> exceptionSupplier) Ensure that the given input value matches the given patternAssert.StringAsserter.maxLength(int length) Ensure that the given input value is not over the given lengthAssert.StringAsserter.minLength(int length) Ensure that the input value is at least of the given lengthAssert.StringAsserter.notBlank()Ensure that the value is not blank (null, empty or only whitespace)Assert.StringAsserter.notNull()Ensure that the value is not nullAssert.StringAsserter.noWhitespace()Ensure that the value does not contain whitespace