Interface GivenNamedSlices
-
- All Superinterfaces:
CanOverrideDescription<GivenNamedSlices>
,GivenObjects<Slice>
- All Known Subinterfaces:
GivenSlices
public interface GivenNamedSlices extends GivenObjects<Slice>, CanOverrideDescription<GivenNamedSlices>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GivenNamedSlices
as(java.lang.String newDescription)
Allows to adjust the description of this object.SlicesShould
should()
GivenSlicesConjunction
that(DescribedPredicate<? super Slice> predicate)
Allows to restrict the set of objects under consideration.-
Methods inherited from interface com.tngtech.archunit.lang.syntax.elements.GivenObjects
should
-
-
-
-
Method Detail
-
should
@PublicAPI(usage=ACCESS) SlicesShould should()
-
as
@PublicAPI(usage=ACCESS) GivenNamedSlices as(java.lang.String newDescription)
Description copied from interface:CanOverrideDescription
Allows to adjust the description of this object. Note that this method will not modify the current object, but instead return a new object with adjusted description.- Specified by:
as
in interfaceCanOverrideDescription<GivenNamedSlices>
- Parameters:
newDescription
- The description the result of this method will hold- Returns:
- A new equivalent object with adjusted description
-
that
@PublicAPI(usage=ACCESS) GivenSlicesConjunction that(DescribedPredicate<? super Slice> predicate)
Description copied from interface:GivenObjects
- Specified by:
that
in interfaceGivenObjects<Slice>
- Returns:
- A syntax conjunction element, which can be completed to form a full rule
-
-