Interface CanOverrideDescription<SELF>

All Known Subinterfaces:
ArchRule, ClassesShouldConjunction, CodeUnitsShouldConjunction<CODE_UNIT>, FieldsShouldConjunction, GivenNamedSlices, GivenSlices, MembersShouldConjunction<MEMBER>, MethodsShouldConjunction
All Known Implementing Classes:
Architectures.LayeredArchitecture, Architectures.OnionArchitecture, CompositeArchRule, FreezingArchRule, JavaClasses, Slice, SliceRule, Slices

@PublicAPI(usage=ACCESS) public interface CanOverrideDescription<SELF>
  • Method Summary

    Modifier and Type
    Method
    Description
    as(String newDescription)
    Allows to adjust the description of this object.
  • Method Details

    • as

      @PublicAPI(usage=ACCESS) SELF as(String newDescription)
      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.
      Parameters:
      newDescription - The description the result of this method will hold
      Returns:
      A new equivalent object with adjusted description