Interface StringOptionPicker<T,S extends BaseSelector>
-
- Type Parameters:
T- the type of the object the specification applies to.S- the type of the selector.
- All Superinterfaces:
OperatorPicker<T,S>,TerminalOperation<T>
public interface StringOptionPicker<T,S extends BaseSelector> extends OperatorPicker<T,S>
An element of theSpecificationBuilderDSL to pick the options for aString-specific specification.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringOptionPicker<T,S>ignoringCase()Specifies that the comparison should be done ignoring case.StringOptionPicker<T,S>trimming()Specifies that the value should trimmed of leading and trailing whitespaces before comparison.StringOptionPicker<T,S>trimmingLead()Specifies that the value should be trimmed of leading whitespace before comparison.StringOptionPicker<T,S>trimmingTail()Specifies that the value should be trimmed of trailing whitespace before comparison.-
Methods inherited from interface org.seedstack.business.specification.dsl.OperatorPicker
and, or
-
Methods inherited from interface org.seedstack.business.specification.dsl.TerminalOperation
build
-
-
-
-
Method Detail
-
trimming
StringOptionPicker<T,S> trimming()
Specifies that the value should trimmed of leading and trailing whitespaces before comparison.- Returns:
- the next operation of the builder DSL, allowing to specify more options or compose a new specification.
-
trimmingLead
StringOptionPicker<T,S> trimmingLead()
Specifies that the value should be trimmed of leading whitespace before comparison.- Returns:
- the next operation of the builder DSL, allowing to specify more options or compose a new specification.
-
trimmingTail
StringOptionPicker<T,S> trimmingTail()
Specifies that the value should be trimmed of trailing whitespace before comparison.- Returns:
- the next operation of the builder DSL, allowing to specify more options or compose a new specification.
-
ignoringCase
StringOptionPicker<T,S> ignoringCase()
Specifies that the comparison should be done ignoring case.- Returns:
- the next operation of the builder DSL, allowing to specify more options or compose a new specification.
-
-