Package com.tngtech.archunit.lang
Class FailureMessages
java.lang.Object
com.tngtech.archunit.base.ForwardingCollection<T>
com.tngtech.archunit.base.ForwardingList<java.lang.String>
com.tngtech.archunit.lang.FailureMessages
- All Implemented Interfaces:
java.lang.Iterable<java.lang.String>
,java.util.Collection<java.lang.String>
,java.util.List<java.lang.String>
@PublicAPI(usage=ACCESS) public class FailureMessages extends ForwardingList<java.lang.String>
-
Method Summary
Modifier and Type Method Description protected java.util.List<java.lang.String>
delegate()
java.lang.String
getInformationAboutNumberOfViolations()
Methods inherited from class com.tngtech.archunit.base.ForwardingList
add, addAll, get, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList
Methods inherited from class com.tngtech.archunit.base.ForwardingCollection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.lang.Iterable
forEach
Methods inherited from interface java.util.List
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, replaceAll, retainAll, size, sort, spliterator, toArray, toArray
-
Method Details
-
getInformationAboutNumberOfViolations
- Returns:
- Textual information about the number of failures. By default will be 'x times' where 'x' is the number of messages contained (assuming one line is one violation).
-
delegate
protected java.util.List<java.lang.String> delegate()- Specified by:
delegate
in classForwardingList<java.lang.String>
-