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
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
getInformationAboutNumberOfViolations
@PublicAPI(usage=ACCESS) public java.lang.String 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>
-
-