Interface OperatorPicker<T,S extends BaseSelector>
-
- Type Parameters:
T- the type of the object the specification applies to.S- the type of the selector.
- All Superinterfaces:
TerminalOperation<T>
- All Known Subinterfaces:
StringOptionPicker<T,S>
public interface OperatorPicker<T,S extends BaseSelector> extends TerminalOperation<T>
An element of theSpecificationBuilderDSL to compose the current specification with another one.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Sand()Compose the current specification with a new one using a logical AND.Sor()Compose the current specification with a new one using a logical OR.-
Methods inherited from interface org.seedstack.business.specification.dsl.TerminalOperation
build
-
-
-
-
Method Detail
-
and
S and()
Compose the current specification with a new one using a logical AND.- Returns:
- the next operation of the builder DSL, allowing to further compose a new specification.
-
or
S or()
Compose the current specification with a new one using a logical OR.- Returns:
- the next operation of the builder DSL, allowing to further compose a new specification.
-
-