Klasse ExtendedStringMediator
java.lang.Object
ch.nolix.core.errorcontrol.validator.ArgumentMediator<String>
ch.nolix.core.errorcontrol.validator.StringMediator
ch.nolix.core.errorcontrol.validator.ExtendedStringMediator
An extended string mediator is not mutable.
- Autor:
- Silvan Wyss
-
Feldübersicht
Felder -
Methodenübersicht
Modifikator und TypMethodeBeschreibungstatic ExtendedStringMediatorforArgument(String argument) protected final StringthatIsNamed(Class<?> type) thatIsNamed(String argumentName) Von Klasse geerbte Methoden StringMediator
hasLength, isEmpty, isNotBlank, isNotEmpty, isNotLongerThan, isNotShorterThan, matches, startsWithVon Klasse geerbte Methoden ArgumentMediator
forArgument, fulfills, getStoredArgument, hasSameStringRepresentationAs, hasStringRepresentation, is, isEqualTo, isNot, isNotEqualTo, isNotNull, isNull, isOfType
-
Felddetails
-
DEFAULT_ARGUMENT_NAME
- Siehe auch:
-
-
Methodendetails
-
forArgument
- Parameter:
argument-- Gibt zurück:
- a new
ExtendedStringMediatorfor the given argument.
-
thatIsNamed
- Parameter:
type-- Gibt zurück:
- a new
StringMediatorfor the argument of the currentExtendedStringMediator.
-
thatIsNamed
- Parameter:
argumentName-- Gibt zurück:
- a new string mediator for the argument of this extended string mediator with the given argument name.
- Löst aus:
ArgumentIsNullException- if the given argument name is null.EmptyArgumentException- if the given argument name is empty.
-
getArgumentName
- Gibt zurück:
- the argument name of the current
Mediator.
-