public interface IErrorList extends Iterable<IError>, IHasErrorLevels, IFieldErrorList, Serializable
IErrorList.| Modifier and Type | Method and Description |
|---|---|
ICommonsList<IError> |
getAllItems() |
ICommonsList<String> |
getAllItemTexts() |
default IMultiMapListBased<String,IError> |
getGroupedByFieldName() |
default IMultiMapListBased<String,IError> |
getGroupedByID() |
int |
getItemCount() |
IErrorList |
getListWithoutField() |
boolean |
hasErrorsOrWarnings() |
boolean |
isEmpty() |
default boolean |
isNotEmpty() |
forEach, iterator, spliteratorcontainsAtLeastOneError, containsAtLeastOneFailure, containsAtLeastOneSuccess, containsNoError, containsNoFailure, containsNoSuccess, containsOnlyError, containsOnlyFailure, containsOnlySuccess, getErrorCount, getFailureCount, getMostSevereErrorLevel, getSuccessCountgetAllItemTextsOfField, getAllItemTextsOfFields, getAllItemTextsOfFieldsRegExp, getAllItemTextsOfFieldsStartingWith, getListOfField, getListOfFields, getListOfFieldsRegExp, getListOfFieldsStartingWith, hasEntryForField, hasEntryForField, hasEntryForFields, hasNoEntryForField, hasNoEntryForFieldsboolean isEmpty()
true if this list has no items, false if
at least one item is containeddefault boolean isNotEmpty()
true if this list has at least one item,
false if if it is empty.@Nonnegative int getItemCount()
boolean hasErrorsOrWarnings()
true if at least 1 item of level warning or at least 1
item of level error is contained.@Nonnull @ReturnsMutableCopy ICommonsList<IError> getAllItems()
null
.@Nonnull @ReturnsMutableCopy ICommonsList<String> getAllItemTexts()
IError objects. Never
null.@Nonnull @ReturnsMutableCopy IErrorList getListWithoutField()
@Nonnull @ReturnsMutableCopy default IMultiMapListBased<String,IError> getGroupedByID()
getGroupedByID in interface IFieldErrorList@Nonnull @ReturnsMutableCopy default IMultiMapListBased<String,IError> getGroupedByFieldName()
getGroupedByFieldName in interface IFieldErrorListCopyright © 2014–2016 Philip Helger. All rights reserved.