Class ArchCondition<T>

    • Constructor Detail

      • ArchCondition

        public ArchCondition​(java.lang.String description,
                             java.lang.Object... args)
    • Method Detail

      • init

        public void init​(java.lang.Iterable<T> allObjectsToTest)
        Can be used/overridden to prepare this condition with respect to the collection of all objects the condition will be tested against.
        ArchUnit will call this method once in the beginning, before starting to check single items.
        Parameters:
        allObjectsToTest - All objects that check(Object, ConditionEvents) will be called against
      • getDescription

        public java.lang.String getDescription()
      • as

        public ArchCondition<T> as​(java.lang.String description,
                                   java.lang.Object... args)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object