Interface CollectsLines

  • All Known Implementing Classes:

    public interface CollectsLines
    The API induced by this interface feels clumsy in most places and at best "not harmful". There seem to be more clients that are interested in the raw lines than meaningful implementations of this interface. In particular it seems hard to imagine any implementation that would not simply add ConditionEvent.getDescriptionLines() to the supplied CollectsLines. Moreover this interface violates ArchUnit's typical pattern of immutability.
    Generic interface for an object that gathers lines of text.
    • Method Detail

      • add

        void add​(java.lang.String line)
        See CollectsLines. This method will be removed in the future and was never intended to be called by clients anyway.