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

public interface CanOverrideDescription<SELF>
  • Method Summary

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

    • as

      @PublicAPI(usage=ACCESS) SELF as​(java.lang.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